{"_id":"@aegisjsproject/state","_rev":"8-ef5a6631443097fdf303a425e6b30b2f","name":"@aegisjsproject/state","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@aegisjsproject/state","version":"1.0.0","keywords":["aegis","aegisjsproject","state","state manager"],"author":{"name":"Chris Zuber","email":"admin@kernvalley.us"},"license":"MIT","_id":"@aegisjsproject/state@1.0.0","maintainers":[{"name":"shgysk8zer0","email":"shgysk8zer0@gmail.com"}],"homepage":"https://github.com/AegisJSProject/state#readme","bugs":{"url":"https://github.com/AegisJSProject/state/issues"},"dist":{"shasum":"6fb712be03a82c2f5aa852e3f7658547e1780546","tarball":"https://registry.npmjs.org/@aegisjsproject/state/-/state-1.0.0.tgz","fileCount":6,"integrity":"sha512-xCGVKy7yVZjfUdSVKVLu11CNhdE0bLMOU4fO9OCkryL95dKDVuvVy9KR+C5fj2VBq0ZWhi1h/lmSqYm4Efo+Yg==","signatures":[{"sig":"MEQCIBPRyG0Yhwj3zntYc2OhbgXgN0Ij6QA/bqjCT6f8j3boAiBYizFJh91BCZfiiNgE4kc8MePsXlVERZr1CTqb+fNbGg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aegisjsproject%2fstate@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18897},"main":"./state.cjs","type":"module","unpkg":"./state.js","config":{"serve":{"path":"./","port":8080,"domain":"localhost"}},"module":"./state.js","engines":{"node":">=18.0.0"},"exports":{".":{"import":"./state.js","require":"./state.cjs"},"./*":{"import":"./*.js","require":"./*.cjs"},"./*.js":{"import":"./*.js","require":"./*.cjs"},"./*.cjs":{"import":"./*.js","require":"./*.cjs"},"./*.mjs":{"import":"./*.js","require":"./*.cjs"}},"funding":[{"url":"https://liberapay.com/shgysk8zer0","type":"librepay"},{"url":"https://github.com/sponsors/shgysk8zer0","type":"github"}],"gitHead":"91c1b633b6355483100360bb6500b6781fa0be4d","private":false,"scripts":{"test":"npm run lint:js && npm run run:tests","build":"npm run build:js","clean":"rm -f ./*.cjs","start":"http-server ${npm_package_config_serve_path} -c-1 --port ${npm_package_config_serve_port} --gzip true --brotli true -a ${npm_package_config_serve_domain} -o /test/","fix:js":"eslint . --fix","lint:js":"eslint .","prepare":"npm test && npm run build","build:js":"npm run clean && rollup -c rollup.config.js","run:tests":"node --test *.test.js","preversion":"npm test && npm run build","create:lock":"npm i --package-lock-only --ignore-scripts --no-audit --no-fund","version:bump":"npm run version:bump:patch","version:bump:major":"npm version --no-git-tag-version major && npm run create:lock","version:bump:minor":"npm version --no-git-tag-version minor && npm run create:lock","version:bump:patch":"npm version --no-git-tag-version patch && npm run create:lock"},"_npmUser":{"name":"shgysk8zer0","email":"shgysk8zer0@gmail.com"},"repository":{"url":"git+https://github.com/AegisJSProject/state.git","type":"git"},"_npmVersion":"10.1.0","description":"A simple state manager library","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.12.0","rollup":"^4.24.0","http-server":"^14.1.1","@aegisjsproject/core":"^0.2.15","@aegisjsproject/styles":"^0.2.3","@aegisjsproject/component":"^0.1.4","@shgysk8zer0/eslint-config":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/state_1.0.0_1728858773251_0.4954446161440915","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@aegisjsproject/state","version":"1.0.1","keywords":["aegis","aegisjsproject","state","state manager"],"author":{"name":"Chris Zuber","email":"admin@kernvalley.us"},"license":"MIT","_id":"@aegisjsproject/state@1.0.1","maintainers":[{"name":"shgysk8zer0","email":"shgysk8zer0@gmail.com"}],"homepage":"https://github.com/AegisJSProject/state#readme","bugs":{"url":"https://github.com/AegisJSProject/state/issues"},"dist":{"shasum":"5b239cf67d5cee7c86be25e87c866409e13d8f32","tarball":"https://registry.npmjs.org/@aegisjsproject/state/-/state-1.0.1.tgz","fileCount":6,"integrity":"sha512-x2NxyGyiekvAbdQtUpCI6zk6kr5Qo96B9j+R7CR8pwm5Ky7MMCqAvfE+3QCEhn6+LXeL/O0Q1OF9f8xu5/qEqw==","signatures":[{"sig":"MEUCIQDJclGiDoFInBJ3jJaEKEcgoL8kJvo3wkcxxGYz/LhS8gIgPcjAez3927KtUP2vp5WG9Nypukv8+kHAtKChl4x1EXk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aegisjsproject%2fstate@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22619},"main":"./state.cjs","type":"module","unpkg":"./state.js","config":{"serve":{"path":"./","port":8080,"domain":"localhost"}},"module":"./state.js","engines":{"node":">=18.0.0"},"exports":{".":{"import":"./state.js","require":"./state.cjs"},"./*":{"import":"./*.js","require":"./*.cjs"},"./*.js":{"import":"./*.js","require":"./*.cjs"},"./*.cjs":{"import":"./*.js","require":"./*.cjs"},"./*.mjs":{"import":"./*.js","require":"./*.cjs"}},"funding":[{"url":"https://liberapay.com/shgysk8zer0","type":"librepay"},{"url":"https://github.com/sponsors/shgysk8zer0","type":"github"}],"gitHead":"eb7f4b077881d954840efce30fe9540cebc66817","private":false,"scripts":{"test":"npm run lint:js && npm run run:tests","build":"npm run build:js","clean":"rm -f ./*.cjs","start":"http-server ${npm_package_config_serve_path} -c-1 --port ${npm_package_config_serve_port} --gzip true --brotli true -a ${npm_package_config_serve_domain} -o /test/","fix:js":"eslint . --fix","lint:js":"eslint .","prepare":"npm test && npm run build","build:js":"npm run clean && rollup -c rollup.config.js","run:tests":"node --test *.test.js","preversion":"npm test && npm run build","create:lock":"npm i --package-lock-only --ignore-scripts --no-audit --no-fund","version:bump":"npm run version:bump:patch","version:bump:major":"npm version --no-git-tag-version major && npm run create:lock","version:bump:minor":"npm version --no-git-tag-version minor && npm run create:lock","version:bump:patch":"npm version --no-git-tag-version patch && npm run create:lock"},"_npmUser":{"name":"shgysk8zer0","email":"shgysk8zer0@gmail.com"},"repository":{"url":"git+https://github.com/AegisJSProject/state.git","type":"git"},"_npmVersion":"10.1.0","description":"A simple state manager library","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.12.0","rollup":"^4.24.0","http-server":"^14.1.1","@aegisjsproject/core":"^0.2.15","@aegisjsproject/styles":"^0.2.3","@aegisjsproject/component":"^0.1.4","@shgysk8zer0/eslint-config":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/state_1.0.1_1729553891852_0.0738331181451477","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@aegisjsproject/state","version":"1.0.2","keywords":["aegis","aegisjsproject","state","state manager"],"author":{"name":"Chris Zuber","email":"admin@kernvalley.us"},"license":"MIT","_id":"@aegisjsproject/state@1.0.2","maintainers":[{"name":"shgysk8zer0","email":"shgysk8zer0@gmail.com"}],"homepage":"https://github.com/AegisJSProject/state#readme","bugs":{"url":"https://github.com/AegisJSProject/state/issues"},"dist":{"shasum":"34d336d0498314f082ee18da5aadc841d3c36134","tarball":"https://registry.npmjs.org/@aegisjsproject/state/-/state-1.0.2.tgz","fileCount":7,"integrity":"sha512-eRsLCidX+XwbVhJ/KOg/+Gw3ut3tl2qP4z9RHF/+iXUlHLTrMTt6j06OQIznY8ltxFDgv67L2rlJDY68H0F3Fg==","signatures":[{"sig":"MEYCIQDPxKxNHN2a/xlbdiK9SzHOnxARF2dKt8JAEwnebpb2jwIhALhxFU8nPWIY2nwUVZOV3oZcnaF5T4Mz+DJLeMBrNktS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aegisjsproject%2fstate@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":34038},"main":"./state.cjs","type":"module","unpkg":"./state.mjs","config":{"serve":{"path":"./","port":8080,"domain":"localhost"}},"module":"./state.js","engines":{"node":">=18.0.0"},"exports":{".":{"import":"./state.js","require":"./state.cjs"},"./*":{"import":"./*.js","require":"./*.cjs"},"./*.js":{"import":"./*.js","require":"./*.cjs"},"./*.cjs":{"import":"./*.js","require":"./*.cjs"},"./*.mjs":{"import":"./*.js","require":"./*.cjs"}},"funding":[{"url":"https://liberapay.com/shgysk8zer0","type":"librepay"},{"url":"https://github.com/sponsors/shgysk8zer0","type":"github"}],"gitHead":"d2dcddf91ef13ef4abb2079e21ccff5a04b49943","private":false,"scripts":{"test":"npm run lint:js && npm run run:tests","build":"npm run build:js","clean":"rm -f ./*.cjs","start":"http-server ${npm_package_config_serve_path} -c-1 --port ${npm_package_config_serve_port} --gzip true --brotli true -a ${npm_package_config_serve_domain} -o /test/","fix:js":"eslint . --fix","lint:js":"eslint .","prepare":"npm test && npm run build","build:js":"npm run clean && rollup -c rollup.config.js","run:tests":"node --test *.test.js","preversion":"npm test && npm run build","create:lock":"npm i --package-lock-only --ignore-scripts --no-audit --no-fund","version:bump":"npm run version:bump:patch","version:bump:major":"npm version --no-git-tag-version major && npm run create:lock","version:bump:minor":"npm version --no-git-tag-version minor && npm run create:lock","version:bump:patch":"npm version --no-git-tag-version patch && npm run create:lock"},"_npmUser":{"name":"shgysk8zer0","email":"shgysk8zer0@gmail.com"},"repository":{"url":"git+https://github.com/AegisJSProject/state.git","type":"git"},"_npmVersion":"10.1.0","description":"A simple state manager library","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.12.0","rollup":"^4.24.0","http-server":"^14.1.1","@aegisjsproject/core":"^0.2.15","@rollup/plugin-terser":"^0.4.4","@aegisjsproject/styles":"^0.2.3","@aegisjsproject/component":"^0.1.4","@shgysk8zer0/eslint-config":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/state_1.0.2_1729717812432_0.4603939396117047","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@aegisjsproject/state","version":"1.0.3","keywords":["aegis","aegisjsproject","state","state manager"],"author":{"name":"Chris Zuber","email":"admin@kernvalley.us"},"license":"MIT","_id":"@aegisjsproject/state@1.0.3","maintainers":[{"name":"shgysk8zer0","email":"shgysk8zer0@gmail.com"}],"homepage":"https://github.com/AegisJSProject/state#readme","bugs":{"url":"https://github.com/AegisJSProject/state/issues"},"dist":{"shasum":"135cab129273bdd9f5482e736b352d8134bffdb6","tarball":"https://registry.npmjs.org/@aegisjsproject/state/-/state-1.0.3.tgz","fileCount":8,"integrity":"sha512-l+d4ZzsSKKvXMDr3eGKUYhvaspo7o78O9O7m8nC3Us9YsGxG19P2FLNoXRph9M9qsSKgyjOD7GxmXCHqT+HbOg==","signatures":[{"sig":"MEQCIBSNOmifD8OdfLrAD9uqOjVroX+3dTVQrvr2aIrMoGtIAiBBvZJmK8MGWPDFSmPXNi1T3BoktuO9Kg44So1BpMCOOg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aegisjsproject%2fstate@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":54674},"main":"./state.cjs","type":"module","unpkg":"./state.mjs","config":{"serve":{"path":"./","port":8080,"domain":"localhost"}},"module":"./state.js","engines":{"node":">=18.0.0"},"exports":{".":{"import":"./state.js","require":"./state.cjs"},"./*":{"import":"./*.js","require":"./*.cjs"},"./*.js":{"import":"./*.js","require":"./*.cjs"},"./*.cjs":{"import":"./*.js","require":"./*.cjs"},"./*.mjs":{"import":"./*.js","require":"./*.cjs"}},"funding":[{"url":"https://liberapay.com/shgysk8zer0","type":"librepay"},{"url":"https://github.com/sponsors/shgysk8zer0","type":"github"}],"gitHead":"42af91623b74cc1efa5cfd14895baf2a9fe509a4","private":false,"scripts":{"test":"npm run lint:js && npm run run:tests","build":"npm run build:js","clean":"rm -f ./*.cjs","start":"http-server ${npm_package_config_serve_path} -c-1 --port ${npm_package_config_serve_port} --gzip true --brotli true -a ${npm_package_config_serve_domain} -o /test/","fix:js":"eslint . --fix","lint:js":"eslint .","prepare":"npm test && npm run build","build:js":"npm run clean && rollup -c rollup.config.js","run:tests":"node --test *.test.js","preversion":"npm test && npm run build","create:lock":"npm i --package-lock-only --ignore-scripts --no-audit --no-fund","version:bump":"npm run version:bump:patch","version:bump:major":"npm version --no-git-tag-version major && npm run create:lock","version:bump:minor":"npm version --no-git-tag-version minor && npm run create:lock","version:bump:patch":"npm version --no-git-tag-version patch && npm run create:lock"},"_npmUser":{"name":"shgysk8zer0","email":"shgysk8zer0@gmail.com"},"repository":{"url":"git+https://github.com/AegisJSProject/state.git","type":"git"},"_npmVersion":"10.1.0","description":"A simple state manager library","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.12.0","rollup":"^4.24.0","http-server":"^14.1.1","@aegisjsproject/core":"^0.2.19","@rollup/plugin-terser":"^0.4.4","@aegisjsproject/styles":"^0.2.3","@aegisjsproject/component":"^0.1.4","@shgysk8zer0/eslint-config":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/state_1.0.3_1732231873530_0.2707651393700037","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@aegisjsproject/state","version":"1.0.4","keywords":["aegis","aegisjsproject","state","state manager"],"author":{"name":"Chris Zuber","email":"admin@kernvalley.us"},"license":"MIT","_id":"@aegisjsproject/state@1.0.4","maintainers":[{"name":"shgysk8zer0","email":"shgysk8zer0@gmail.com"}],"homepage":"https://github.com/AegisJSProject/state#readme","bugs":{"url":"https://github.com/AegisJSProject/state/issues"},"dist":{"shasum":"c61913c1f94b5a390964ef2bf4d7deecc0317fe7","tarball":"https://registry.npmjs.org/@aegisjsproject/state/-/state-1.0.4.tgz","fileCount":8,"integrity":"sha512-/2axqqiN45vLCSg71EgyfxKRQF9Cw1A7FyznHbwlA6CTwMjRCxJOL4tzoLp3QN5aIHBFCS1IEqNbVRZR+Hllpw==","signatures":[{"sig":"MEQCIDRBIfzVi82rvniqI8WO4dC2E05fXe8hpvc0IhgYRkwWAiBnQRIM0YqRw3xSCImvxsgJiuFbxtJUVRf9hsnM5XA/bQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aegisjsproject%2fstate@1.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":65922},"main":"./state.cjs","type":"module","unpkg":"./state.mjs","config":{"serve":{"path":"./","port":8080,"domain":"localhost"}},"module":"./state.js","engines":{"node":">=18.0.0"},"exports":{".":{"import":"./state.js","require":"./state.cjs"},"./*":{"import":"./*.js","require":"./*.cjs"},"./*.js":{"import":"./*.js","require":"./*.cjs"},"./*.cjs":{"import":"./*.js","require":"./*.cjs"},"./*.mjs":{"import":"./*.js","require":"./*.cjs"}},"funding":[{"url":"https://liberapay.com/shgysk8zer0","type":"librepay"},{"url":"https://github.com/sponsors/shgysk8zer0","type":"github"}],"gitHead":"70bb763a31da4eaea5b86d990dda9b8276380fa9","private":false,"scripts":{"test":"npm run lint:js && npm run run:tests","build":"npm run build:js","clean":"rm -f ./*.cjs","start":"http-server ${npm_package_config_serve_path} -c-1 --port ${npm_package_config_serve_port} --gzip true --brotli true -a ${npm_package_config_serve_domain} -o /test/","fix:js":"eslint . --fix","lint:js":"eslint .","prepare":"npm test && npm run build","build:js":"npm run clean && rollup -c rollup.config.js","run:tests":"node --test *.test.js","preversion":"npm test && npm run build","create:lock":"npm i --package-lock-only --ignore-scripts --no-audit --no-fund","version:bump":"npm run version:bump:patch","version:bump:major":"npm version --no-git-tag-version major && npm run create:lock","version:bump:minor":"npm version --no-git-tag-version minor && npm run create:lock","version:bump:patch":"npm version --no-git-tag-version patch && npm run create:lock"},"_npmUser":{"name":"shgysk8zer0","email":"shgysk8zer0@gmail.com"},"repository":{"url":"git+https://github.com/AegisJSProject/state.git","type":"git"},"_npmVersion":"10.1.0","description":"A simple state manager library","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.12.0","rollup":"^4.24.0","http-server":"^14.1.1","@aegisjsproject/core":"^0.2.21","@rollup/plugin-terser":"^0.4.4","@aegisjsproject/styles":"^0.2.3","@aegisjsproject/component":"^0.1.4","@shgysk8zer0/eslint-config":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/state_1.0.4_1732760132970_0.36062643268245465","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@aegisjsproject/state","version":"1.0.5","keywords":["aegis","aegisjsproject","state","state manager"],"author":{"name":"Chris Zuber","email":"admin@kernvalley.us"},"license":"MIT","_id":"@aegisjsproject/state@1.0.5","maintainers":[{"name":"shgysk8zer0","email":"shgysk8zer0@gmail.com"}],"homepage":"https://github.com/AegisJSProject/state#readme","bugs":{"url":"https://github.com/AegisJSProject/state/issues"},"dist":{"shasum":"3c98796b2e19d2c01a8e8931bf0f9b8055ff6a3e","tarball":"https://registry.npmjs.org/@aegisjsproject/state/-/state-1.0.5.tgz","fileCount":8,"integrity":"sha512-AdVfqiN5k4csoq9m7XTicHH9qLwBsuoH8y+MfjKAAiUCHhYjGrs+8SR9YZkK9HIF/fEbEqvKegVD5joSs9PG1Q==","signatures":[{"sig":"MEYCIQC2nYplBV6XjDztX8YIs7Hp66bUsTv583UlmoeZK3JcSwIhALYRDqZiBCjSUTOjRVfs/lpafnSCTT2QLsPzV3s9GvJh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aegisjsproject%2fstate@1.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":66071},"main":"./state.cjs","type":"module","unpkg":"./state.mjs","config":{"serve":{"path":"./","port":8080,"domain":"localhost"}},"module":"./state.js","engines":{"node":">=18.0.0"},"exports":{".":{"import":"./state.js","require":"./state.cjs"},"./*":{"import":"./*.js","require":"./*.cjs"},"./*.js":{"import":"./*.js","require":"./*.cjs"},"./*.cjs":{"import":"./*.js","require":"./*.cjs"},"./*.mjs":{"import":"./*.js","require":"./*.cjs"}},"funding":[{"url":"https://liberapay.com/shgysk8zer0","type":"librepay"},{"url":"https://github.com/sponsors/shgysk8zer0","type":"github"}],"gitHead":"54410c5d083693ad7098662303947ae282880725","private":false,"scripts":{"test":"npm run lint:js && npm run run:tests","build":"npm run build:js","clean":"rm -f ./*.cjs","start":"http-server ${npm_package_config_serve_path} -c-1 --port ${npm_package_config_serve_port} --gzip true --brotli true -a ${npm_package_config_serve_domain} -o /test/","fix:js":"eslint . --fix","lint:js":"eslint .","prepare":"npm test && npm run build","build:js":"npm run clean && rollup -c rollup.config.js","run:tests":"node --test *.test.js","preversion":"npm test && npm run build","create:lock":"npm i --package-lock-only --ignore-scripts --no-audit --no-fund","version:bump":"npm run version:bump:patch","version:bump:major":"npm version --no-git-tag-version major && npm run create:lock","version:bump:minor":"npm version --no-git-tag-version minor && npm run create:lock","version:bump:patch":"npm version --no-git-tag-version patch && npm run create:lock"},"_npmUser":{"name":"shgysk8zer0","email":"shgysk8zer0@gmail.com"},"repository":{"url":"git+https://github.com/AegisJSProject/state.git","type":"git"},"_npmVersion":"10.1.0","description":"A simple state manager library","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.12.0","rollup":"^4.24.0","http-server":"^14.1.1","@aegisjsproject/core":"^0.2.21","@rollup/plugin-terser":"^0.4.4","@aegisjsproject/styles":"^0.2.3","@aegisjsproject/component":"^0.1.4","@shgysk8zer0/eslint-config":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/state_1.0.5_1732907574324_0.6947768527441733","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@aegisjsproject/state","version":"1.0.7","keywords":["aegis","aegisjsproject","state","state manager"],"author":{"name":"Chris Zuber","email":"admin@kernvalley.us"},"license":"MIT","_id":"@aegisjsproject/state@1.0.7","maintainers":[{"name":"shgysk8zer0","email":"shgysk8zer0@gmail.com"}],"homepage":"https://github.com/AegisJSProject/state#readme","bugs":{"url":"https://github.com/AegisJSProject/state/issues"},"dist":{"shasum":"8119fd92b9ec47e332a2211488da495583f95b78","tarball":"https://registry.npmjs.org/@aegisjsproject/state/-/state-1.0.7.tgz","fileCount":9,"integrity":"sha512-RsMJbyEC4RtFsMzRFCvhUiZS61IwxO6SRev+Sm9NJ7EG2yFJsup6Md7NVsrfZB5pS+NI+wkDNznjjKwJw5ViNw==","signatures":[{"sig":"MEUCIQDwI2FnP3Xic0GNkwLAjmi4TsKAZUiBrA11Zn/yoNL4/QIgdjyJ9ukfa0dNcy/dS9X/16RP6BKbaZ0hRKMV21afHqQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aegisjsproject%2fstate@1.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":107012},"main":"./state.cjs","type":"module","unpkg":"./state.mjs","config":{"serve":{"path":"./","port":8080,"domain":"localhost"}},"module":"./state.js","engines":{"node":">=18.0.0"},"exports":{".":{"import":"./state.js","require":"./state.cjs"},"./*":{"import":"./*.js","require":"./*.cjs"},"./*.js":{"import":"./*.js","require":"./*.cjs"},"./*.cjs":{"import":"./*.js","require":"./*.cjs"},"./*.mjs":{"import":"./*.js","require":"./*.cjs"}},"funding":[{"url":"https://liberapay.com/shgysk8zer0","type":"librepay"},{"url":"https://github.com/sponsors/shgysk8zer0","type":"github"}],"gitHead":"5a20db8142fbcc36feff22276d98f1f9ccde989d","private":false,"scripts":{"test":"npm run lint:js && npm run run:tests","build":"npm run build:js","clean":"rm -f ./*.cjs","start":"http-server ${npm_package_config_serve_path} -c-1 --port ${npm_package_config_serve_port} --gzip true --brotli true -a ${npm_package_config_serve_domain} -o /test/","fix:js":"eslint . --fix","lint:js":"eslint .","prepare":"npm test && npm run build","build:js":"npm run clean && rollup -c rollup.config.js","run:tests":"node --test *.test.js","preversion":"npm test && npm run build","create:lock":"npm i --package-lock-only --ignore-scripts --no-audit --no-fund","version:bump":"npm run version:bump:patch","version:bump:major":"npm version --no-git-tag-version major && npm run create:lock","version:bump:minor":"npm version --no-git-tag-version minor && npm run create:lock","version:bump:patch":"npm version --no-git-tag-version patch && npm run create:lock"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f260c430-47d6-490b-95b2-9bdc84b274b6"}},"repository":{"url":"git+https://github.com/AegisJSProject/state.git","type":"git"},"_npmVersion":"11.6.1","description":"A simple state manager library","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.12.0","rollup":"^4.24.0","http-server":"^14.1.1","@aegisjsproject/core":"^0.2.21","@rollup/plugin-terser":"^0.4.4","@aegisjsproject/styles":"^0.2.3","@aegisjsproject/component":"^0.1.4","@shgysk8zer0/eslint-config":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/state_1.0.7_1760572347626_0.0785429670564255","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"_id":"@aegisjsproject/state@1.1.0","bugs":{"url":"https://github.com/AegisJSProject/state/issues"},"dist":{"shasum":"95a67237e7d5968a59d54dbeb7679046b342af8c","tarball":"https://registry.npmjs.org/@aegisjsproject/state/-/state-1.1.0.tgz","integrity":"sha512-oJJTNwh5b5oN4QrPebOZta3qCfyJKze6vumO2OxiltPh20TisWLC6m54wZ/j/GvF6DVIYDQpU7DQtrVCTgLx6g==","fileCount":9,"unpackedSize":107271,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aegisjsproject%2fstate@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCYh2skgWBfR+cYBSWSaBydl5fqgfC/2NbnO7BI1DB4UgIhALBRL6mbKIhWuV/wCLmGU9y+frXumBLNZVC70oNziH1Q"}]},"main":"./state.cjs","name":"@aegisjsproject/state","type":"module","unpkg":"./state.mjs","author":{"name":"Chris Zuber","email":"admin@kernvalley.us"},"config":{"serve":{"path":"./","port":8080,"domain":"localhost"}},"module":"./state.js","engines":{"node":">=18.0.0"},"exports":{".":{"import":"./state.js","require":"./state.cjs"},"./*":{"import":"./*.js","require":"./*.cjs"},"./*.js":{"import":"./*.js","require":"./*.cjs"},"./*.cjs":{"import":"./*.js","require":"./*.cjs"},"./*.mjs":{"import":"./*.js","require":"./*.cjs"}},"funding":[{"url":"https://liberapay.com/shgysk8zer0","type":"librepay"},{"url":"https://github.com/sponsors/shgysk8zer0","type":"github"}],"gitHead":"f0e997650202fc3e4adc73975fe4fa470c2194c3","license":"MIT","private":false,"scripts":{"test":"npm run lint:js && npm run run:tests","build":"npm run build:js","clean":"rm -f ./*.cjs","start":"http-server ${npm_package_config_serve_path} -c-1 --port ${npm_package_config_serve_port} --gzip true --brotli true -a ${npm_package_config_serve_domain} -o /test/","fix:js":"eslint . --fix","lint:js":"eslint .","prepare":"npm test && npm run build","build:js":"npm run clean && rollup -c rollup.config.js","run:tests":"node --test *.test.js","preversion":"npm test && npm run build","create:lock":"npm i --package-lock-only --ignore-scripts --no-audit --no-fund","version:bump":"npm run version:bump:patch","version:bump:major":"npm version --no-git-tag-version major && npm run create:lock","version:bump:minor":"npm version --no-git-tag-version minor && npm run create:lock","version:bump:patch":"npm version --no-git-tag-version patch && npm run create:lock"},"version":"1.1.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:93a7be16-31c2-4a95-8c22-a9ba6439bf6b"},"approver":{"name":"shgysk8zer0","email":"shgysk8zer0@gmail.com"}},"homepage":"https://github.com/AegisJSProject/state#readme","keywords":["aegis","aegisjsproject","state","state manager"],"repository":{"url":"git+https://github.com/AegisJSProject/state.git","type":"git"},"_npmVersion":"11.16.0","description":"A simple state manager library","directories":{},"maintainers":[{"name":"shgysk8zer0","email":"shgysk8zer0@gmail.com"}],"_nodeVersion":"26.3.0","allowScripts":{"fsevents@2.3.3":true},"devDependencies":{"eslint":"^10.5.0","rollup":"^4.62.0","http-server":"^14.1.1","@aegisjsproject/core":"^0.2.34","@rollup/plugin-terser":"^1.0.0","@aegisjsproject/styles":"^0.3.4","@aegisjsproject/component":"^0.1.8","@shgysk8zer0/eslint-config":"^1.1.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/state_1.1.0_1781466404903_0.5890332784259622"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-13T22:32:53.165Z","modified":"2026-06-14T19:46:45.243Z","1.0.0":"2024-10-13T22:32:53.421Z","1.0.1":"2024-10-21T23:38:12.085Z","1.0.2":"2024-10-23T21:10:12.717Z","1.0.3":"2024-11-21T23:31:13.727Z","1.0.4":"2024-11-28T02:15:33.133Z","1.0.5":"2024-11-29T19:12:54.491Z","1.0.7":"2025-10-15T23:52:27.810Z","1.1.0":"2026-06-14T19:46:44.978Z"},"bugs":{"url":"https://github.com/AegisJSProject/state/issues"},"author":{"name":"Chris Zuber","email":"admin@kernvalley.us"},"license":"MIT","homepage":"https://github.com/AegisJSProject/state#readme","keywords":["aegis","aegisjsproject","state","state manager"],"repository":{"url":"git+https://github.com/AegisJSProject/state.git","type":"git"},"description":"A simple state manager library","maintainers":[{"name":"shgysk8zer0","email":"shgysk8zer0@gmail.com"}],"readme":"# `@aegisjsproject/state`\n\nA lightweight state management library that persists state across navigation within the same session. It leverages `history.state`\nfor easy integration into web applications and synchronizes state across tabs or windows within the same origin using `BroadcastChannel`.\n\n[![CodeQL](https://github.com/AegisJSProject/state/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/AegisJSProject/state/actions/workflows/codeql-analysis.yml)\n![Node CI](https://github.com/AegisJSProject/state/workflows/Node%20CI/badge.svg)\n![Lint Code Base](https://github.com/AegisJSProject/state/workflows/Lint%20Code%20Base/badge.svg)\n\n[![GitHub license](https://img.shields.io/github/license/AegisJSProject/state.svg)](https://github.com/AegisJSProject/state/blob/master/LICENSE)\n[![GitHub last commit](https://img.shields.io/github/last-commit/AegisJSProject/state.svg)](https://github.com/AegisJSProject/state/commits/master)\n[![GitHub release](https://img.shields.io/github/release/AegisJSProject/state?logo=github)](https://github.com/AegisJSProject/state/releases)\n[![GitHub Sponsors](https://img.shields.io/github/sponsors/shgysk8zer0?logo=github)](https://github.com/sponsors/shgysk8zer0)\n\n[![npm](https://img.shields.io/npm/v/@aegisjsproject/state)](https://www.npmjs.com/package/@aegisjsproject/state)\n![node-current](https://img.shields.io/node/v/@aegisjsproject/state)\n![npm bundle size gzipped](https://img.shields.io/bundlephobia/minzip/@aegisjsproject/state)\n[![npm](https://img.shields.io/npm/dw/@aegisjsproject/state?logo=npm)](https://www.npmjs.com/package/@aegisjsproject/state)\n\n[![GitHub followers](https://img.shields.io/github/followers/shgysk8zer0.svg?style=social)](https://github.com/shgysk8zer0)\n![GitHub forks](https://img.shields.io/github/forks/AegisJSProject/state.svg?style=social)\n![GitHub stars](https://img.shields.io/github/stars/AegisJSProject/state.svg?style=social)\n[![Twitter Follow](https://img.shields.io/twitter/follow/shgysk8zer0.svg?style=social)](https://twitter.com/shgysk8zer0)\n\n[![Donate using Liberapay](https://img.shields.io/liberapay/receives/shgysk8zer0.svg?logo=liberapay)](https://liberapay.com/shgysk8zer0/donate \"Donate using Liberapay\")\n- - -\n\n- [Code of Conduct](./.github/CODE_OF_CONDUCT.md)\n- [Contributing](./.github/CONTRIBUTING.md)\n- [Security Policy](./.github/SECURITY.md)\n\n## Features\n- **Session persistence:** State persists across navigation, staying in sync with the browser's session history.\n- **Multi-tab synchronization:** Keeps state in sync across multiple tabs or windows on the same origin using `BroadcastChannel`.\n- **Efficient state updates:** Only updates when necessary, ensuring minimal performance overhead.\n- **Flexible API:** Includes utilities for observing state changes, managing key-specific states, and clearing state.\n\n## Installation\n```bash\nnpm install @aegisjsproject/state\n```\n\n## CDN and importmap\nYou do not even need to `npm install` this or use any build process. You may either import it directly from a CDN\nor use an [importmap](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap).\n\n```html\n<script type=\"importmap\">\n{\n  \"imports\": {\n    \"@aegisjsproject/state\": \"https://unpkg.com/@aegisjsproject/state[@version]/state.js\"\n  }\n}\n</script>\n```\n\n## Example\n\n```js\nimport { setState, getState, observeStateChanges, manageState, watchState } from '@aegisjsproject/state';\n\n// Enables syncing of state across tabs/windows\nwatchState();\n\n// Set state\nsetState('key', 'value');\n\n// Get state\nconst value = getState('key');\n\n// Observe state changes\nobserveStateChanges(({ diff, state }) => {\n  console.log('State changed:', diff, state);\n});\n\n// Observe state changes to only specific state keys\nobserveStateChanges(({ state }) => {\n  console.log('State changed:', {\n    foo: state.foo,\n    bar: state.bar,\n  });\n}, 'foo', 'bar');\n\n// Manage state with reactive pattern\nconst [state, setStateValue] = manageState('key', 'defaultValue');\nconsole.log(state.valueOf());  // Logs the state value from the wrapper object\nsetStateValue('newValue');     // Updates the state\n```\n\n> [!IMPORTANT]\n> This is **NOT** to be confused with eg `useState()` in React or anything like that. There is no\n> transpilation step involved. Although `manageState()` does return a tuple of `[value, setValue]`,\n> it takes a key and an initial value, and the `value` is an object which wraps the current value.\n> You can use the value via things like `setValue(value + 1)` thanks to `[Symbol.toPrimitive]`, however.\n","readmeFilename":"README.md"}