{"_id":"unistore","_rev":"2875058","name":"unistore","description":"Dead simple centralized state container (store) with preact and react bindings.","dist-tags":{"latest":"3.5.2"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"time":{"modified":"2022-10-06T06:58:43.000Z","created":"2016-01-26T16:00:57.054Z","3.5.2":"2020-06-18T00:20:42.890Z","3.5.1":"2019-11-05T16:39:11.795Z","3.5.0":"2019-10-17T20:49:36.096Z","3.4.1":"2019-03-10T20:40:29.031Z","3.4.0":"2019-03-09T00:45:55.022Z","3.3.2":"2019-03-07T23:03:22.462Z","3.3.1":"2019-03-07T22:58:11.855Z","3.3.0":"2019-03-07T19:46:50.422Z","3.2.1":"2019-01-04T23:05:52.294Z","3.2.0":"2019-01-04T22:49:09.156Z","3.1.1":"2019-01-04T01:47:37.429Z","3.1.0":"2018-09-20T14:21:55.863Z","3.0.6":"2018-05-25T14:14:11.411Z","3.0.5":"2018-05-06T00:51:37.684Z","3.0.4":"2018-01-29T14:32:09.368Z","3.0.3":"2017-12-19T17:40:35.418Z","3.0.2":"2017-12-13T15:10:34.220Z","3.0.1":"2017-12-12T21:27:42.397Z","3.0.0":"2017-12-12T04:07:53.009Z","2.4.0":"2017-12-08T17:19:04.287Z","2.3.0":"2017-12-07T03:44:50.359Z","2.2.0":"2017-12-06T21:31:38.569Z","2.1.0":"2017-12-06T18:53:36.875Z","2.0.1":"2017-12-06T18:17:22.438Z","2.0.0":"2017-12-06T18:16:22.378Z","1.0.0":"2016-03-11T22:27:10.498Z","0.2.0":"2016-02-17T16:14:57.082Z","0.1.1":"2016-01-27T23:01:49.324Z","0.1.0":"2016-01-26T16:00:57.054Z"},"users":{},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"versions":{"3.5.2":{"name":"unistore","version":"3.5.2","description":"Dead simple centralized state container (store) with preact and react bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs --external react,preact","build:combined":"microbundle src/combined/*.js -o full/x.js --external react,preact","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme src/index.js src/integrations/preact.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"760b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":"current"}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"jest":{"testURL":"http://localhost"},"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^24.3.1","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.17.1","documentation":"^4.0.0","enzyme":"^3.9.0","enzyme-adapter-react-16":"^1.10.0","eslint":"^4.16.0","eslint-config-developit":"^1.1.1","gzip-size-cli":"^2.1.0","jest":"^24.3.1","microbundle":"^0.11.0","npm-run-all":"^4.1.2","preact":"^10.0.0","raf":"^3.4.0","react":"^16.8.4","react-dom":"^16.8.4","strip-json-comments-cli":"^1.0.1"},"peerDependenciesMeta":{"preact":{"optional":true},"react":{"optional":true}},"gitHead":"f3a4e99d4c62b27773fa2e520998e55f129f3819","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.5.2","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"shasum":"ec3ae07bc497fb35ff8b99f85c878ec47c787cb4","size":17566,"noattachment":false,"key":"/unistore/-/unistore-3.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.5.2.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore_3.5.2_1592439642636_0.8167365676762386"},"_hasShrinkwrap":false,"publish_time":1592439642890,"_cnpm_publish_time":1592439642890,"_cnpmcore_publish_time":"2021-12-16T17:19:35.194Z"},"3.5.1":{"name":"unistore","version":"3.5.1","description":"Dead simple centralized state container (store) with preact and react bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs --external react,preact","build:combined":"microbundle src/combined/*.js -o full/x.js --external react,preact","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme src/index.js src/integrations/preact.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"760b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":"current"}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"jest":{"testURL":"http://localhost"},"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^24.3.1","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.17.1","documentation":"^4.0.0","enzyme":"^3.9.0","enzyme-adapter-react-16":"^1.10.0","eslint":"^4.16.0","eslint-config-developit":"^1.1.1","gzip-size-cli":"^2.1.0","jest":"^24.3.1","microbundle":"^0.11.0","npm-run-all":"^4.1.2","preact":"^10.0.0","raf":"^3.4.0","react":"^16.8.4","react-dom":"^16.8.4","strip-json-comments-cli":"^1.0.1"},"peerDependenciesMeta":{"preact":{"optional":true},"react":{"optional":true}},"gitHead":"b08e0c5660b7141f2c0a92c668c2acb397bc527f","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.5.1","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"shasum":"2ce7e17524f8e1390adaf59a88abdeb39e455333","size":18397,"noattachment":false,"key":"/unistore/-/unistore-3.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.5.1.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore_3.5.1_1572971951532_0.9605972927960482"},"_hasShrinkwrap":false,"publish_time":1572971951795,"_cnpm_publish_time":1572971951795,"_cnpmcore_publish_time":"2021-12-16T17:19:35.465Z"},"3.5.0":{"name":"unistore","version":"3.5.0","description":"Dead simple centralized state container (store) with preact and react bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs --external react,preact","build:combined":"microbundle src/combined/*.js -o full/x.js --external react,preact","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme src/index.js src/integrations/preact.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"760b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":"current"}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"jest":{"testURL":"http://localhost"},"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^24.3.1","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.17.1","documentation":"^4.0.0","enzyme":"^3.9.0","enzyme-adapter-react-16":"^1.10.0","eslint":"^4.16.0","eslint-config-developit":"^1.1.1","gzip-size-cli":"^2.1.0","jest":"^24.3.1","microbundle":"^0.11.0","npm-run-all":"^4.1.2","preact":"^10.0.0","raf":"^3.4.0","react":"^16.8.4","react-dom":"^16.8.4","strip-json-comments-cli":"^1.0.1"},"peerDependenciesMeta":{"preact":{"optional":true},"react":{"optional":true}},"gitHead":"8078bb255cc01f8af25ea9f955e75f813ea22ef7","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.5.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"shasum":"f4b962e290fc85969627bf0e8209d8bc1cf5313d","size":18391,"noattachment":false,"key":"/unistore/-/unistore-3.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.5.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore_3.5.0_1571345375915_0.3914609153314983"},"_hasShrinkwrap":false,"publish_time":1571345376096,"_cnpm_publish_time":1571345376096,"_cnpmcore_publish_time":"2021-12-16T17:19:35.677Z"},"3.4.1":{"name":"unistore","version":"3.4.1","description":"Dead simple centralized state container (store) with preact and react bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs --external react,preact","build:combined":"microbundle src/combined/*.js -o full/x.js --external react,preact","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme src/index.js src/integrations/preact.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"760b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":"current"}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"jest":{"testURL":"http://localhost"},"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^24.3.1","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.17.1","documentation":"^4.0.0","enzyme":"^3.9.0","enzyme-adapter-react-16":"^1.10.0","eslint":"^4.16.0","eslint-config-developit":"^1.1.1","gzip-size-cli":"^2.1.0","jest":"^24.3.1","microbundle":"^0.11.0","npm-run-all":"^4.1.2","preact":"^10.0.0-alpha.1","raf":"^3.4.0","react":"^16.8.4","react-dom":"^16.8.4","strip-json-comments-cli":"^1.0.1"},"peerDependenciesMeta":{"preact":{"optional":true},"react":{"optional":true}},"gitHead":"c266d1fb93b7c585d1a9110f4da35af0991a624c","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.4.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"effdee7d9f2e00fdc6cecad5ab598ccd54344d38","size":17915,"noattachment":false,"key":"/unistore/-/unistore-3.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.4.1.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore_3.4.1_1552250428814_0.018015126689039818"},"_hasShrinkwrap":false,"publish_time":1552250429031,"_cnpm_publish_time":1552250429031,"_cnpmcore_publish_time":"2021-12-16T17:19:35.900Z"},"3.4.0":{"name":"unistore","version":"3.4.0","description":"Dead simple centralized state container (store) with preact and react bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs --external react,preact","build:combined":"microbundle src/combined/*.js -o full/x.js --external react,preact","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme src/index.js src/integrations/preact.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"760b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":true}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"jest":{"testURL":"http://localhost"},"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.17.1","documentation":"^4.0.0","enzyme":"^3.9.0","enzyme-adapter-react-16":"^1.10.0","eslint":"^4.16.0","eslint-config-developit":"^1.1.1","gzip-size-cli":"^2.1.0","jest":"^23.6.0","microbundle":"^0.11.0","npm-run-all":"^4.1.2","preact":"^10.0.0-alpha.1","raf":"^3.4.0","react":"^16.8.4","react-dom":"^16.8.4","strip-json-comments-cli":"^1.0.1"},"peerDependenciesMeta":{"preact":{"optional":true},"react":{"optional":true}},"gitHead":"a84fc5c42b64595ea304dd08d0a717db466b6e43","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.4.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"46ec8297de2c7fce4adc7eb4df138c13f71e7f6f","size":17917,"noattachment":false,"key":"/unistore/-/unistore-3.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.4.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore_3.4.0_1552092354855_0.5517452990430958"},"_hasShrinkwrap":false,"publish_time":1552092355022,"_cnpm_publish_time":1552092355022,"_cnpmcore_publish_time":"2021-12-16T17:19:36.541Z"},"3.3.2":{"name":"unistore","version":"3.3.2","description":"Dead simple centralized state container (store) with preact and react bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs --external react,preact","build:combined":"microbundle src/combined/*.js -o full/x.js --external react,preact","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme src/index.js src/integrations/preact.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"750b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":true}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"jest":{"testURL":"http://localhost"},"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.17.1","documentation":"^4.0.0","enzyme":"^3.9.0","enzyme-adapter-react-16":"^1.10.0","eslint":"^4.16.0","eslint-config-developit":"^1.1.1","gzip-size-cli":"^2.1.0","jest":"^23.6.0","microbundle":"^0.11.0","npm-run-all":"^4.1.2","preact":"^8.4.2","raf":"^3.4.0","react":"^16.8.4","react-dom":"^16.8.4","strip-json-comments-cli":"^1.0.1"},"peerDependenciesMeta":{"preact":{"optional":true},"react":{"optional":true}},"gitHead":"2af6cd366ec02d6d1cdb25892a4ec8c14bb3ef6f","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.3.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"6c96302191d18fc3d474f19db9fb52a5f878b552","size":17555,"noattachment":false,"key":"/unistore/-/unistore-3.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.3.2.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore_3.3.2_1551999802313_0.6847909011319004"},"_hasShrinkwrap":false,"publish_time":1551999802462,"_cnpm_publish_time":1551999802462,"_cnpmcore_publish_time":"2021-12-16T17:19:36.773Z"},"3.3.1":{"name":"unistore","version":"3.3.1","description":"Dead simple centralized state container (store) with preact and react bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs --external react,preact","build:combined":"microbundle src/combined/*.js -o full/x.js --external react,preact","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme src/index.js src/integrations/preact.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"750b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":true}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"jest":{"testURL":"http://localhost"},"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.17.1","documentation":"^4.0.0","enzyme":"^3.9.0","enzyme-adapter-react-16":"^1.10.0","eslint":"^4.16.0","eslint-config-developit":"^1.1.1","gzip-size-cli":"^2.1.0","jest":"^23.6.0","microbundle":"^0.11.0","npm-run-all":"^4.1.2","preact":"^8.4.2","raf":"^3.4.0","react":"^16.8.4","react-dom":"^16.8.4","strip-json-comments-cli":"^1.0.1"},"gitHead":"d38aa3dcec87d301ad4fa4fec636d99bd1876ffe","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.3.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"aea7e17cb312e2b3b5d95e37d4ff1c79b6be1644","size":17527,"noattachment":false,"key":"/unistore/-/unistore-3.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.3.1.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore_3.3.1_1551999491672_0.03298770708495846"},"_hasShrinkwrap":false,"publish_time":1551999491855,"_cnpm_publish_time":1551999491855,"_cnpmcore_publish_time":"2021-12-16T17:19:36.998Z"},"3.3.0":{"name":"unistore","version":"3.3.0","description":"Dead simple centralized state container (store) with preact and react bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs","build:combined":"microbundle src/combined/*.js -o full/x.js","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme src/index.js src/integrations/preact.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"750b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":true}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"jest":{"testURL":"http://localhost"},"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.15.3","documentation":"^4.0.0","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.1","eslint":"^4.16.0","eslint-config-developit":"^1.1.1","gzip-size-cli":"^2.1.0","jest":"^23.6.0","microbundle":"^0.4.3","npm-run-all":"^4.1.2","preact":"^8.3.1","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0","strip-json-comments-cli":"^1.0.1"},"peerDependencies":{"preact":"optional:*","react":"optional:*"},"gitHead":"3b5affa6f4b9bff39ad19b30c22e88e42cf0328b","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.3.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"99d8de9d7756a0327cdc19add6b81bdd4be7e763","size":18040,"noattachment":false,"key":"/unistore/-/unistore-3.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.3.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore_3.3.0_1551988010317_0.901581797277349"},"_hasShrinkwrap":false,"publish_time":1551988010422,"_cnpm_publish_time":1551988010422,"_cnpmcore_publish_time":"2021-12-16T17:19:37.221Z"},"3.2.1":{"name":"unistore","version":"3.2.1","description":"Dead simple centralized state container (store) with preact and react bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs","build:combined":"microbundle src/combined/*.js -o full/x.js","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme src/index.js src/integrations/preact.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"750b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":true}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"jest":{"testURL":"http://localhost"},"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.15.3","documentation":"^4.0.0","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.1","eslint":"^4.16.0","eslint-config-developit":"^1.1.1","gzip-size-cli":"^2.1.0","jest":"^23.6.0","microbundle":"^0.4.3","npm-run-all":"^4.1.2","preact":"^8.3.1","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0","strip-json-comments-cli":"^1.0.1"},"peerDependencies":{"preact":"*","react":"*"},"gitHead":"04620c605926467ebafb4bb8749939cce8a691a2","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.2.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"26e316c834e39b83b2a301a65f78138f43975a0b","size":18016,"noattachment":false,"key":"/unistore/-/unistore-3.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.2.1.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore_3.2.1_1546643152110_0.9915848970679002"},"_hasShrinkwrap":false,"publish_time":1546643152294,"_cnpm_publish_time":1546643152294,"_cnpmcore_publish_time":"2021-12-16T17:19:37.510Z"},"3.2.0":{"name":"unistore","version":"3.2.0","description":"Dead simple centralized state container (store) with preact and react bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs","build:combined":"microbundle src/combined/*.js -o full/x.js","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme src/index.js src/integrations/preact.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"750b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":true}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"jest":{"testURL":"http://localhost"},"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.15.3","documentation":"^4.0.0","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.1","eslint":"^4.16.0","eslint-config-developit":"^1.1.1","gzip-size-cli":"^2.1.0","jest":"^23.6.0","microbundle":"^0.4.3","npm-run-all":"^4.1.2","preact":"^8.3.1","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0","strip-json-comments-cli":"^1.0.1"},"peerDependencies":{"preact":"*","react":"*"},"gitHead":"b47ab9dbafdbe9ddb6668b46e259994ba6654933","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.2.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"6d47813ff3b9810a11e7a45d55d4d710f2c430d6","size":17952,"noattachment":false,"key":"/unistore/-/unistore-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.2.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore_3.2.0_1546642149000_0.8105493797555192"},"_hasShrinkwrap":false,"publish_time":1546642149156,"_cnpm_publish_time":1546642149156,"_cnpmcore_publish_time":"2021-12-16T17:19:37.899Z"},"3.1.1":{"name":"unistore","version":"3.1.1","description":"Dead simple centralized state container (store) with preact and react bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs","build:combined":"microbundle src/combined/*.js -o full/x.js","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme src/index.js src/integrations/preact.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"750b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":true}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"jest":{"testURL":"http://localhost"},"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.15.3","documentation":"^4.0.0","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.1","eslint":"^4.16.0","eslint-config-developit":"^1.1.1","gzip-size-cli":"^2.1.0","jest":"^22.1.4","microbundle":"^0.4.3","npm-run-all":"^4.1.2","preact":"^8.3.1","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0","strip-json-comments-cli":"^1.0.1"},"peerDependencies":{"preact":"*","react":"*"},"gitHead":"1df7cf60ac6fa1a70859d745fbaea7ea3f1b8d30","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.1.1","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"214bac4a2510dba56910897c7dd58a63091a9897","size":18026,"noattachment":false,"key":"/unistore/-/unistore-3.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.1.1.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore_3.1.1_1546566457240_0.48220688857788385"},"_hasShrinkwrap":false,"publish_time":1546566457429,"_cnpm_publish_time":1546566457429,"_cnpmcore_publish_time":"2021-12-16T17:19:38.140Z"},"3.1.0":{"name":"unistore","version":"3.1.0","description":"Dead simple centralized state container (store) with preact and react bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs","build:combined":"microbundle src/combined/*.js -o full/x.js","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme src/index.js src/integrations/preact.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"750b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":true}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"jest":{"testURL":"http://localhost"},"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.15.3","documentation":"^4.0.0","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.1","eslint":"^4.16.0","eslint-config-developit":"^1.1.1","gzip-size-cli":"^2.1.0","jest":"^22.1.4","microbundle":"^0.4.3","npm-run-all":"^4.1.2","preact":"^8.3.1","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0","strip-json-comments-cli":"^1.0.1"},"peerDependencies":{"preact":"*","react":"*"},"gitHead":"115353f586118ffa4a0e0dd5d57469e08abd2da4","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"38ba40ba43e6d0cb89e842b6216469736c93dd34","size":18034,"noattachment":false,"key":"/unistore/-/unistore-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.1.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore_3.1.0_1537453315726_0.9228123550735712"},"_hasShrinkwrap":false,"publish_time":1537453315863,"_cnpm_publish_time":1537453315863,"_cnpmcore_publish_time":"2021-12-16T17:19:38.413Z"},"3.0.6":{"name":"unistore","version":"3.0.6","description":"Dead simple centralized state container (store) with preact and react bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs","build:combined":"microbundle src/combined/*.js -o full/x.js","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme src/index.js src/integrations/preact.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"750b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":true}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"files":["src","dist","full","preact.js","preact.js.map","react.js","react.js.map","index.d.ts","preact.d.ts","react.d.ts","devtools.js"],"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.15.3","documentation":"^4.0.0","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.1","eslint":"^4.16.0","eslint-config-developit":"^1.1.1","gzip-size-cli":"^2.1.0","jest":"^22.1.4","microbundle":"^0.4.3","npm-run-all":"^4.1.2","preact":"^8.2.7","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0","strip-json-comments-cli":"^1.0.1"},"peerDependencies":{"preact":"*","react":"*"},"gitHead":"7512c6abd6472ecf7843e5b128553ed14948b3c6","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.0.6","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"e3abefaca0184bd932e4818fb20b771aafdd6dcb","size":18055,"noattachment":false,"key":"/unistore/-/unistore-3.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.0.6.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore_3.0.6_1527257651336_0.9099953863780492"},"_hasShrinkwrap":false,"publish_time":1527257651411,"_cnpm_publish_time":1527257651411,"_cnpmcore_publish_time":"2021-12-16T17:19:38.655Z"},"3.0.5":{"name":"unistore","version":"3.0.5","description":"Dead simple centralized state container (store) with preact and react bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs","build:combined":"microbundle src/combined/*.js -o full/x.js","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme src/index.js src/integrations/preact.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"750b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":true}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"files":["src","dist","full","preact.js","preact.js.map","react.js","react.js.map","index.d.ts","devtools.js"],"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.15.3","documentation":"^4.0.0","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.1","eslint":"^4.16.0","eslint-config-developit":"^1.1.1","gzip-size-cli":"^2.1.0","jest":"^22.1.4","microbundle":"^0.4.3","npm-run-all":"^4.1.2","preact":"^8.2.7","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0","strip-json-comments-cli":"^1.0.1"},"peerDependencies":{"preact":"*","react":"*"},"gitHead":"c0ee16b32a12f82cb203dd490be6d5303b1375fc","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.0.5","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"3945252f43fc950ec764cab789e26add0aec5147","size":17848,"noattachment":false,"key":"/unistore/-/unistore-3.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.0.5.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore_3.0.5_1525567897512_0.18947330190254874"},"_hasShrinkwrap":false,"publish_time":1525567897684,"_cnpm_publish_time":1525567897684,"_cnpmcore_publish_time":"2021-12-16T17:19:38.843Z"},"3.0.4":{"name":"unistore","version":"3.0.4","description":"Dead simple centralized state container (store) with preact and react bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs","build:combined":"microbundle src/combined/*.js -o full/x.js","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme unistore.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"750b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":true}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"files":["src","dist","full","preact.js","preact.js.map","react.js","react.js.map","index.d.ts","devtools.js"],"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.15.3","documentation":"^4.0.0","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.1","eslint":"^4.16.0","eslint-config-developit":"^1.1.1","gzip-size-cli":"^2.1.0","jest":"^22.1.4","microbundle":"^0.3.1","npm-run-all":"^4.1.2","preact":"^8.2.7","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0","strip-json-comments-cli":"^1.0.1"},"peerDependencies":{"preact":"*","react":"*"},"gitHead":"9606b2dd6a2fd7a3d3ee288e1400b4154fc89b27","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.0.4","_npmVersion":"5.6.0","_nodeVersion":"8.9.2","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"e7304ee8c43c3ae31751ea733ea22ab63841d672","size":10371,"noattachment":false,"key":"/unistore/-/unistore-3.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.0.4.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore-3.0.4.tgz_1517236328419_0.9795709254685789"},"directories":{},"publish_time":1517236329368,"_hasShrinkwrap":false,"_cnpm_publish_time":1517236329368,"_cnpmcore_publish_time":"2021-12-16T17:19:39.035Z"},"3.0.3":{"name":"unistore","version":"3.0.3","description":"Dead simple centralized state container (store) with preact and react bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs","build:combined":"microbundle src/combined/*.js -o full/x.js","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme unistore.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"750b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":true}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"files":["src","dist","full","preact.js","preact.js.map","react.js","react.js.map","index.d.ts"],"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.15.3","documentation":"^4.0.0","eslint":"^4.12.1","eslint-config-developit":"^1.1.1","gzip-size-cli":"^2.1.0","jest":"^21.2.1","microbundle":"^0.2.4","npm-run-all":"^4.1.2","preact":"^8.2.6","strip-json-comments-cli":"^1.0.1"},"peerDependencies":{"preact":"*","react":"*"},"gitHead":"add984b3849196250f8cecd45ac49106e109a66e","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.0.3","_npmVersion":"5.5.1","_nodeVersion":"8.9.2","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"5541e57e49bd821ed24217716ae12bb12f855986","size":10420,"noattachment":false,"key":"/unistore/-/unistore-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.0.3.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore-3.0.3.tgz_1513705235248_0.44538333523087204"},"directories":{},"publish_time":1513705235418,"_hasShrinkwrap":false,"_cnpm_publish_time":1513705235418,"_cnpmcore_publish_time":"2021-12-16T17:19:39.246Z"},"3.0.2":{"name":"unistore","version":"3.0.2","description":"Dead simple centralized state container (store) with preact and react bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs","build:combined":"microbundle src/combined/*.js -o full/x.js","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme unistore.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"750b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":true}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"files":["src","dist","full","preact.js","preact.js.map","index.d.ts"],"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.15.3","documentation":"^4.0.0","eslint":"^4.12.1","eslint-config-developit":"^1.1.1","jest":"^21.2.1","microbundle":"^0.2.4","npm-run-all":"^4.1.2","preact":"^8.2.6","strip-json-comments-cli":"^1.0.1"},"peerDependencies":{"preact":"*","react":"*"},"gitHead":"069984011217f819594e687599d9ec348ce167f2","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.0.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.2","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"3b4a8f8721ba4589b782847bbffae194691f86f5","size":10102,"noattachment":false,"key":"/unistore/-/unistore-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.0.2.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore-3.0.2.tgz_1513177833234_0.9845557445660233"},"directories":{},"publish_time":1513177834220,"_hasShrinkwrap":false,"_cnpm_publish_time":1513177834220,"_cnpmcore_publish_time":"2021-12-16T17:19:39.458Z"},"3.0.1":{"name":"unistore","version":"3.0.1","description":"Dead simple centralized state container (store) with preact bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs","build:combined":"microbundle src/combined/*.js -o full/x.js","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size && bundlesize","docs":"documentation readme unistore.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"750b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":true}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"files":["src","dist","full","preact.js","preact.js.map","index.d.ts"],"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.15.3","documentation":"^4.0.0","eslint":"^4.12.1","eslint-config-developit":"^1.1.1","jest":"^21.2.1","npm-run-all":"^4.1.2","preact":"^8.2.6","strip-json-comments-cli":"^1.0.1"},"peerDependencies":{"preact":"*","react":"*"},"dependencies":{"microbundle":"^0.2.3"},"gitHead":"cfdce171ef640bdfb12e029d805ab76efd09d306","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.2","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"535a805d5196d5931ca8d1277df6a7801d9c92bb","size":18972,"noattachment":false,"key":"/unistore/-/unistore-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.0.1.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore-3.0.1.tgz_1513114061353_0.4832015896681696"},"directories":{},"publish_time":1513114062397,"_hasShrinkwrap":false,"_cnpm_publish_time":1513114062397,"_cnpmcore_publish_time":"2021-12-16T17:19:39.682Z"},"3.0.0":{"name":"unistore","version":"3.0.0","description":"Dead simple centralized state container (store) with preact bindings.","source":"src/index.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm-run-all --silent -p build:main build:integrations build:combined -s size docs","build:main":"microbundle","build:integrations":"microbundle src/integrations/*.js -o x.js -f cjs","build:combined":"microbundle src/combined/*.js -o full/x.js","size":"strip-json-comments --no-whitespace dist/unistore.js | bundlesize","docs":"documentation readme unistore.js -q --section API && npm run -s fixreadme","fixreadme":"node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^-   /gm, \"- \"))'","test":"eslint src && npm run build && jest","prepare":"npm t","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"bundlesize":[{"path":"full/preact.js","maxSize":"750b"},{"path":"dist/unistore.js","maxSize":"400b"},{"path":"preact.js","maxSize":"600b"}],"babel":{"presets":[["env",{"targets":{"node":true}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"files":["src","dist","preact.js","preact.js.map","index.d.ts"],"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","bundlesize":"^0.15.3","documentation":"^4.0.0","eslint":"^4.12.1","eslint-config-developit":"^1.1.1","jest":"^21.2.1","npm-run-all":"^4.1.2","preact":"^8.2.6","strip-json-comments-cli":"^1.0.1"},"peerDependencies":{"preact":"*","react":"*"},"dependencies":{"microbundle":"^0.2.3"},"gitHead":"6d624425a08954ad72473c8ffbeb7a872b5e2c52","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@3.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.2","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"8d6f0daeb32c3578c5b96037cc88f8f7d9be807e","size":10953,"noattachment":false,"key":"/unistore/-/unistore-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-3.0.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore-3.0.0.tgz_1513051672906_0.929179617902264"},"directories":{},"publish_time":1513051673009,"_hasShrinkwrap":false,"_cnpm_publish_time":1513051673009,"_cnpmcore_publish_time":"2021-12-16T17:19:39.886Z"},"2.4.0":{"name":"unistore","version":"2.4.0","description":"Dead simple centralized state container (store) with preact bindings.","source":"unistore.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm run -s transpile && npm run -s size && npm run -s docs","transpile":"rollup -c --environment FORMAT:umd && rollup -c --environment FORMAT:cjs && rollup -c --environment FORMAT:es","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size","docs":"documentation readme unistore.js -q --section API && sed -i '' 's/-   /- /' README.md","test":"eslint unistore.js && jest","prepare":"npm run build","release":"npm run -s build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-developit","rules":{"prefer-rest-params":0}},"babel":{"presets":[["env",{"targets":{"node":true}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"files":["unistore.js","dist","index.d.ts"],"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","documentation":"^4.0.0","eslint":"^4.12.1","eslint-config-developit":"^1.1.1","gzip-size-cli":"^2.1.0","jest":"^21.2.1","preact":"^8.2.6","rollup":"^0.52.1","rollup-plugin-buble":"^0.18.0","rollup-plugin-es3":"^1.0.3","rollup-plugin-post-replace":"^1.0.0","rollup-plugin-uglify":"^2.0.1","strip-json-comments-cli":"^1.0.1","uglify-js":"^2.8.29"},"peerDependencies":{"preact":"*"},"gitHead":"712442de12390372e29ca34f70a11f992ab23343","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@2.4.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.2","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"87e1554d22d021add63495eac16f20e8c336d94e","size":7727,"noattachment":false,"key":"/unistore/-/unistore-2.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-2.4.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore-2.4.0.tgz_1512753542909_0.7682895516045392"},"directories":{},"publish_time":1512753544287,"_hasShrinkwrap":false,"_cnpm_publish_time":1512753544287,"_cnpmcore_publish_time":"2021-12-16T17:19:40.128Z"},"2.3.0":{"name":"unistore","version":"2.3.0","description":"Dead simple centralized state container (store) with preact bindings.","source":"unistore.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","typings":"index.d.ts","scripts":{"build":"npm run -s transpile && npm run -s size && npm run -s docs","transpile":"rollup -c --environment FORMAT:umd && rollup -c --environment FORMAT:cjs && rollup -c --environment FORMAT:es","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size","docs":"documentation readme unistore.js -q --section API","test":"eslint unistore.js && jest","prepublishOnly":"npm run build"},"eslintConfig":{"extends":"eslint-config-synacor","globals":{"jest":1},"rules":{"eqeqeq":0,"guard-for-in":0,"prefer-rest-params":0}},"babel":{"presets":[["env",{"targets":{"node":true}}]],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"files":["unistore.js","dist","index.d.ts"],"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.6.1","documentation":"^4.0.0","eslint":"^4.12.1","eslint-config-synacor":"^2.0.2","gzip-size-cli":"^2.1.0","jest":"^21.2.1","preact":"^8.2.6","rollup":"^0.52.1","rollup-plugin-buble":"^0.18.0","rollup-plugin-es3":"^1.0.3","rollup-plugin-post-replace":"^1.0.0","rollup-plugin-uglify":"^2.0.1","strip-json-comments-cli":"^1.0.1","uglify-js":"^2.8.29"},"peerDependencies":{"preact":"*"},"gitHead":"0967baf065f3466d0d2b2c22fc07b8c04af3636d","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@2.3.0","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"40519dc4847492b0c24ee9f43fc31a363a609bcc","size":6422,"noattachment":false,"key":"/unistore/-/unistore-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-2.3.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore-2.3.0.tgz_1512618289383_0.8404846875928342"},"directories":{},"publish_time":1512618290359,"_hasShrinkwrap":false,"_cnpm_publish_time":1512618290359,"_cnpmcore_publish_time":"2021-12-16T17:19:40.353Z"},"2.2.0":{"name":"unistore","version":"2.2.0","description":"Dead simple centralized state container (store) with preact bindings.","source":"unistore.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","scripts":{"build":"npm run -s transpile && npm run -s size && npm run -s docs","transpile":"rollup -c --environment FORMAT:umd && rollup -c --environment FORMAT:cjs && rollup -c --environment FORMAT:es","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size","docs":"documentation readme unistore.js -q --section API","test":"eslint unistore.js && jest","prepublishOnly":"npm run build"},"eslintConfig":{"extends":"eslint-config-synacor","globals":{"jest":1},"rules":{"eqeqeq":0,"guard-for-in":0,"prefer-rest-params":0}},"babel":{"presets":["es2015"],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"files":["unistore.js","dist"],"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-es2015":"^6.24.1","documentation":"^4.0.0","eslint":"^4.12.1","eslint-config-synacor":"^2.0.2","gzip-size":"^3.0.0","jest":"^21.2.1","preact":"^8.2.6","rollup":"^0.52.1","rollup-plugin-buble":"^0.18.0","rollup-plugin-es3":"^1.0.3","rollup-plugin-post-replace":"^1.0.0","rollup-plugin-uglify":"^2.0.1","strip-json-comments-cli":"^1.0.1","uglify-js":"^2.8.29"},"peerDependencies":{"preact":"*"},"dependencies":{},"gitHead":"23b678e9a340a6f0d5fc62f69d09848ef0daf5e1","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@2.2.0","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"7f808977f2b6a0723e10954337975d4915ccfad7","size":5930,"noattachment":false,"key":"/unistore/-/unistore-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-2.2.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore-2.2.0.tgz_1512595897590_0.030270862160250545"},"directories":{},"publish_time":1512595898569,"_hasShrinkwrap":false,"_cnpm_publish_time":1512595898569,"_cnpmcore_publish_time":"2021-12-16T17:19:40.588Z"},"2.1.0":{"name":"unistore","version":"2.1.0","description":"Dead simple centralized state container (store) with preact bindings.","source":"unistore.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","scripts":{"build":"npm run transpile && npm run size","transpile":"rollup -c --environment FORMAT:umd && rollup -c --environment FORMAT:cjs && rollup -c --environment FORMAT:es","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size","docs":"documentation readme unistore.js -q --section API","test":"eslint unistore.js && jest","prepublishOnly":"npm run build"},"eslintConfig":{"extends":"eslint-config-synacor","globals":{"jest":1},"rules":{"eqeqeq":0,"guard-for-in":0,"prefer-rest-params":0}},"babel":{"presets":["es2015"],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"files":["unistore.js","dist"],"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-es2015":"^6.24.1","documentation":"^4.0.0","eslint":"^4.12.1","eslint-config-synacor":"^2.0.2","gzip-size":"^3.0.0","jest":"^21.2.1","preact":"^8.2.6","rollup":"^0.52.1","rollup-plugin-buble":"^0.18.0","rollup-plugin-es3":"^1.0.3","rollup-plugin-post-replace":"^1.0.0","rollup-plugin-uglify":"^2.0.1","strip-json-comments-cli":"^1.0.1","uglify-js":"^2.8.29"},"peerDependencies":{"preact":"*"},"dependencies":{"preact-context-provider":"^1.0.0"},"gitHead":"8cf4fecd4755cc8974b8633f19de8ce6586eb179","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@2.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"a363adc849352d714570f60bec625dc8687dec51","size":4322,"noattachment":false,"key":"/unistore/-/unistore-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-2.1.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore-2.1.0.tgz_1512586415966_0.8258173621725291"},"directories":{},"publish_time":1512586416875,"_hasShrinkwrap":false,"_cnpm_publish_time":1512586416875,"_cnpmcore_publish_time":"2021-12-16T17:19:40.805Z"},"2.0.1":{"name":"unistore","version":"2.0.1","description":"Dead simple centralized state container (store) with preact bindings.","source":"unistore.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","scripts":{"build":"npm run transpile && npm run size","transpile":"rollup -c --environment FORMAT:umd && rollup -c --environment FORMAT:cjs && rollup -c --environment FORMAT:es","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size","test":"eslint unistore.js && jest"},"eslintConfig":{"extends":"eslint-config-synacor","globals":{"jest":1},"rules":{"guard-for-in":0,"prefer-rest-params":0}},"babel":{"presets":["es2015"],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"files":["unistore.js","dist"],"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint":"^4.6.1","eslint-config-synacor":"^2.0.2","gzip-size":"^3.0.0","jest":"^21.2.1","preact":"^8.2.6","rollup":"^0.49.2","rollup-plugin-buble":"^0.15.0","rollup-plugin-post-replace":"^1.0.0","rollup-plugin-uglify":"^2.0.1","strip-json-comments-cli":"^1.0.1","uglify-js":"^2.8.29"},"peerDependencies":{"preact":"*"},"gitHead":"085b7a962190429d7936e9d30d2f41b48637b209","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@2.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"919813c5d4bcc5765b5a51fa0803fa03bad0b69f","size":6726,"noattachment":false,"key":"/unistore/-/unistore-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-2.0.1.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore-2.0.1.tgz_1512584242248_0.9633546965196729"},"directories":{},"publish_time":1512584242438,"_hasShrinkwrap":false,"_cnpm_publish_time":1512584242438,"_cnpmcore_publish_time":"2021-12-16T17:19:41.409Z"},"2.0.0":{"name":"unistore","version":"2.0.0","description":"Dead simple centralized state container (store) with preact bindings.","source":"unistore.js","module":"dist/unistore.es.js","main":"dist/unistore.js","umd:main":"dist/unistore.umd.js","scripts":{"build":"npm run transpile && npm run size","transpile":"rollup -c --environment FORMAT:umd && rollup -c --environment FORMAT:cjs && rollup -c --environment FORMAT:es","size":"strip-json-comments --no-whitespace dist/unistore.js | gzip-size","test":"eslint unistore.js && jest"},"eslintConfig":{"extends":"eslint-config-synacor","globals":{"jest":1},"rules":{"guard-for-in":0,"prefer-rest-params":0}},"babel":{"presets":["es2015"],"plugins":[["transform-react-jsx",{"pragma":"h"}]]},"files":["unistore.js","dist"],"keywords":["preact","component","state machine","redux"],"repository":{"type":"git","url":"git+https://github.com/developit/unistore.git"},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"MIT","devDependencies":{"babel-jest":"^21.2.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint":"^4.6.1","eslint-config-synacor":"^2.0.2","gzip-size":"^3.0.0","jest":"^21.2.1","preact":"^8.2.6","rollup":"^0.49.2","rollup-plugin-buble":"^0.15.0","rollup-plugin-post-replace":"^1.0.0","rollup-plugin-uglify":"^2.0.1","strip-json-comments-cli":"^1.0.1","uglify-js":"^2.8.29"},"peerDependencies":{"preact":"*"},"gitHead":"cab9e0e6324092ccbb6ad0471c4228e5464bac8b","bugs":{"url":"https://github.com/developit/unistore/issues"},"homepage":"https://github.com/developit/unistore#readme","_id":"unistore@2.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"c94a2c633648ef1b2ac0acb200c069a0d39af561","size":6739,"noattachment":false,"key":"/unistore/-/unistore-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-2.0.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unistore-2.0.0.tgz_1512584180758_0.6547459908761084"},"directories":{},"publish_time":1512584182378,"_hasShrinkwrap":false,"_cnpm_publish_time":1512584182378,"_cnpmcore_publish_time":"2021-12-16T17:19:41.651Z"},"1.0.0":{"name":"unistore","version":"1.0.0","description":"simple data store and identity map","author":{"name":"Garth Poitras","email":"garth22@gmail.com"},"license":"MIT","main":"dist/unistore.js","jsnext:main":"index.js","files":["dist"],"scripts":{"build":"rollup -c","test":"eslint {lib/*,test/*} && mocha test/* --compilers js:babel-core/register","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/gdub22/unistore.git"},"keywords":["store","data","cache","identity","adapter"],"devDependencies":{"babel-preset-es2015-rollup":"^1.0.0","eslint":"^2.3.0","eslint-config-standard":"^5.1.0","eslint-plugin-promise":"^1.1.0","eslint-plugin-standard":"^1.3.2","mocha":"^2.4.5","rollup":"^0.25.4","rollup-plugin-babel":"^2.4.0"},"eslintConfig":{"extends":"standard","env":{"es6":true,"browser":true,"node":true,"mocha":true},"rules":{"arrow-parens":0}},"gitHead":"f3253f1295e6f000e520c444c7124c4fe462f181","bugs":{"url":"https://github.com/gdub22/unistore/issues"},"homepage":"https://github.com/gdub22/unistore#readme","_id":"unistore@1.0.0","_shasum":"96c19c1500f986bd4efdc78fc4ddfd56e6fa5bf5","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"gdub","email":"garth22@gmail.com"},"dist":{"shasum":"96c19c1500f986bd4efdc78fc4ddfd56e6fa5bf5","size":4090,"noattachment":false,"key":"/unistore/-/unistore-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-1.0.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/unistore-1.0.0.tgz_1457735228155_0.8698430738877505"},"directories":{},"publish_time":1457735230498,"_hasShrinkwrap":false,"_cnpm_publish_time":1457735230498,"_cnpmcore_publish_time":"2021-12-16T17:19:41.880Z"},"0.2.0":{"name":"unistore","version":"0.2.0","description":"simple isomorphic data fetching store and identity map","author":{"name":"Garth Poitras","email":"garth22@gmail.com"},"license":"MIT","main":"dist/unistore.js","jsnext:main":"index.js","files":["dist"],"scripts":{"build":"rollup -c","test":"eslint {lib/*,test/*} && mocha {test/store.js,test/adapters/rest.js,test/adapters/*.js} --compilers js:babel-core/register","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/gdub22/unistore.git"},"keywords":["store","data","cache","identity","adapter","rest","http","fetch","xhr"],"devDependencies":{"babel-preset-es2015-rollup":"^1.0.0","eslint":"^1.10.3","eslint-config-standard":"^4.4.0","eslint-plugin-standard":"^1.3.2","fake-xml-http-request":"^1.3.0","fetch-mock":"^4.1.1","mocha":"^2.4.5","nock":"^7.2.1","rollup":"^0.25.4","rollup-plugin-babel":"^2.3.8"},"gitHead":"15f3f18dad024ba461700c8f629809f83b48d873","bugs":{"url":"https://github.com/gdub22/unistore/issues"},"homepage":"https://github.com/gdub22/unistore#readme","_id":"unistore@0.2.0","_shasum":"f14bccf8469ad1bfcd642eece830b9c4112e51b7","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"gdub","email":"garth22@gmail.com"},"dist":{"shasum":"f14bccf8469ad1bfcd642eece830b9c4112e51b7","size":5863,"noattachment":false,"key":"/unistore/-/unistore-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-0.2.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/unistore-0.2.0.tgz_1455725693993_0.4658990325406194"},"directories":{},"publish_time":1455725697082,"_hasShrinkwrap":false,"_cnpm_publish_time":1455725697082,"_cnpmcore_publish_time":"2021-12-16T17:19:42.120Z"},"0.1.1":{"name":"unistore","version":"0.1.1","description":"simple isomorphic data fetching store and identity map","author":{"name":"Garth Poitras","email":"garth22@gmail.com"},"license":"MIT","main":"dist/unistore.js","jsnext:main":"index.js","files":["dist"],"scripts":{"build":"rollup -c","test":"eslint {lib/*,test/*} && mocha {test/store.js,test/adapters/rest.js,test/*} --compilers js:babel-core/register","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/gdub22/unistore.git"},"keywords":["store","data","adapter","rest","http","fetch","xhr"],"devDependencies":{"babel-preset-es2015-rollup":"^1.0.0","eslint":"^1.10.3","eslint-config-standard":"^4.4.0","eslint-plugin-standard":"^1.3.1","fake-xml-http-request":"^1.3.0","fetch-mock":"^4.0.1","mocha":"^2.3.4","nock":"^6.0.1","rollup":"^0.25.1","rollup-plugin-babel":"^2.3.8"},"gitHead":"11e5287899c86202c43d8a5314374b10648f8420","bugs":{"url":"https://github.com/gdub22/unistore/issues"},"homepage":"https://github.com/gdub22/unistore#readme","_id":"unistore@0.1.1","_shasum":"0f7b6b087ac32d9a0dca7e3c58bac72878b43ac8","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.5.0","_npmUser":{"name":"gdub","email":"garth22@gmail.com"},"dist":{"shasum":"0f7b6b087ac32d9a0dca7e3c58bac72878b43ac8","size":5806,"noattachment":false,"key":"/unistore/-/unistore-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-0.1.1.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"publish_time":1453935709324,"_hasShrinkwrap":false,"_cnpm_publish_time":1453935709324,"_cnpmcore_publish_time":"2021-12-16T17:19:42.347Z"},"0.1.0":{"name":"unistore","version":"0.1.0","description":"simple isomorphic data fetching store and identity map","author":{"name":"Garth Poitras","email":"garth22@gmail.com"},"license":"MIT","main":"dist/unistore.js","jsnext:main":"index.js","files":["dist"],"scripts":{"build":"rollup -c","test":"eslint {lib/*,test/*} && mocha {test/store.js,test/adapters/rest.js,test/*} --compilers js:babel-core/register","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/gdub22/unistore.git"},"keywords":["store","data","adapter","rest","http","fetch","xhr"],"devDependencies":{"babel-preset-es2015-rollup":"^1.0.0","eslint":"^1.10.3","eslint-config-standard":"^4.4.0","eslint-plugin-standard":"^1.3.1","fake-xml-http-request":"^1.3.0","fetch-mock":"^4.0.1","mocha":"^2.3.4","nock":"^6.0.1","rollup":"^0.25.1","rollup-plugin-babel":"^2.3.8"},"gitHead":"fa2a185500cf60bcf4778bf3a6cc857c8b1f8208","bugs":{"url":"https://github.com/gdub22/unistore/issues"},"homepage":"https://github.com/gdub22/unistore#readme","_id":"unistore@0.1.0","_shasum":"2d892e537d95f9bdd422b461e939995fd800867d","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.5.0","_npmUser":{"name":"gdub","email":"garth22@gmail.com"},"dist":{"shasum":"2d892e537d95f9bdd422b461e939995fd800867d","size":6047,"noattachment":false,"key":"/unistore/-/unistore-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unistore/download/unistore-0.1.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"publish_time":1453824057054,"_hasShrinkwrap":false,"_cnpm_publish_time":1453824057054,"_cnpmcore_publish_time":"2021-12-16T17:19:42.537Z"}},"readme":"<p align=\"center\">\n  <img src=\"https://i.imgur.com/o0u6dto.png\" width=\"300\" height=\"300\" alt=\"unistore\">\n  <br>\n  <a href=\"https://www.npmjs.org/package/unistore\"><img src=\"https://img.shields.io/npm/v/unistore.svg?style=flat\" alt=\"npm\"></a> <a href=\"https://travis-ci.org/developit/unistore\"><img src=\"https://travis-ci.org/developit/unistore.svg?branch=master\" alt=\"travis\"></a>\n</p>\n\n# unistore\n\n> A tiny 350b centralized state container with component bindings for [Preact] & [React].\n\n- **Small** footprint complements Preact nicely _(unistore + unistore/preact is ~650b)_\n- **Familiar** names and ideas from Redux-like libraries\n- **Useful** data selectors to extract properties from state\n- **Portable** actions can be moved into a common place and imported\n- **Functional** actions are just reducers\n- **NEW**: seamlessly run Unistore in a worker via [Stockroom](https://github.com/developit/stockroom)\n\n## Table of Contents\n\n- [Install](#install)\n- [Usage](#usage)\n- [Examples](#examples)\n- [API](#api)\n- [License](#license)\n\n## Install\n\nThis project uses [node](http://nodejs.org) and [npm](https://npmjs.com). Go check them out if you don't have them locally installed.\n\n```sh\nnpm install --save unistore\n```\n\nThen with a module bundler like [webpack](https://webpack.js.org) or [rollup](http://rollupjs.org), use as you would anything else:\n\n```js\n// The store:\nimport createStore from 'unistore'\n\n// Preact integration\nimport { Provider, connect } from 'unistore/preact'\n\n// React integration\nimport { Provider, connect } from 'unistore/react'\n```\n\nAlternatively, you can import the \"full\" build for each, which includes both `createStore` and the integration for your library of choice:\n\n```js\nimport { createStore, Provider, connect } from 'unistore/full/preact'\n```\n\nThe [UMD](https://github.com/umdjs/umd) build is also available on [unpkg](https://unpkg.com):\n\n```html\n<!-- just unistore(): -->\n<script src=\"https://unpkg.com/unistore/dist/unistore.umd.js\"></script>\n<!-- for preact -->\n<script src=\"https://unpkg.com/unistore/full/preact.umd.js\"></script>\n<!-- for react -->\n<script src=\"https://unpkg.com/unistore/full/react.umd.js\"></script>\n```\n\nYou can find the library on `window.unistore`.\n\n### Usage\n\n```js\nimport createStore from 'unistore'\nimport { Provider, connect } from 'unistore/preact'\n\nlet store = createStore({ count: 0, stuff: [] })\n\nlet actions = {\n  // Actions can just return a state update:\n  increment(state) {\n    // The returned object will be merged into the current state\n    return { count: state.count+1 }\n  },\n\n  // The above example as an Arrow Function:\n  increment2: ({ count }) => ({ count: count+1 }),\n\n  // Actions receive current state as first parameter and any other params next\n  // See the \"Increment by 10\"-button below\n  incrementBy: ({ count }, incrementAmount) => {\n    return { count: count+incrementAmount }\n  },\n}\n\n// If actions is a function, it gets passed the store:\nlet actionFunctions = store => ({\n  // Async actions can be pure async/promise functions:\n  async getStuff(state) {\n    const res = await fetch('/foo.json')\n    return { stuff: await res.json() }\n  },\n\n  // ... or just actions that call store.setState() later:\n  clearOutStuff(state) {\n    setTimeout(() => {\n      store.setState({ stuff: [] }) // clear 'stuff' after 1 second\n    }, 1000)\n  }\n\n  // Remember that the state passed to the action function could be stale after\n  // doing async work, so use getState() instead:\n  async incrementAfterStuff(state) {\n    const res = await fetch('foo.json')\n    const resJson = await res.json()\n    // the variable 'state' above could now be old,\n    // better get a new one from the store\n    const upToDateState = store.getState()\n\n    return {\n      stuff: resJson,\n      count: upToDateState.count + resJson.length,\n    }\n  }\n})\n\n// Connecting a react/preact component to get current state and to bind actions\nconst App1 = connect('count', actions)(\n  ({ count, increment, incrementBy }) => (\n    <div>\n      <p>Count: {count}</p>\n      <button onClick={increment}>Increment</button>\n      <button onClick={() => incrementBy(10)}>Increment by 10</button>\n    </div>\n  )\n)\n\n// First argument to connect can also be a string, array or function while\n// second argument can be an object or a function. Here we pass an array and\n// a function.\nconst App2 = connect(['count', 'stuff'], actionFunctions)(\n  ({ count, stuff, getStuff, clearOutStuff, incrementAfterStuff }) => (\n    <div>\n      <p>Count: {count}</p>\n      <p>Stuff:\n        <ul>{stuff.map(s => (\n         <li>{s.name}</li>\n        ))}</ul>\n      </p>\n      <button onClick={getStuff}>Get some stuff!</button>\n      <button onClick={clearOutStuff}>Remove all stuff!</button>\n      <button onClick={incrementAfterStuff}>Get and count stuff!</button>\n    </div>\n  )\n)\n\nexport const getApp1 = () => (\n  <Provider store={store}>\n    <App1 />\n  </Provider>\n)\n\nexport const getApp2 = () => (\n  <Provider store={store}>\n    <App2 />\n  </Provider>\n)\n```\n\n### Debug\n\nMake sure to have [Redux devtools extension](https://github.com/zalmoxisus/redux-devtools-extension) previously installed.\n\n```js\nimport createStore from 'unistore'\nimport devtools    from 'unistore/devtools'\n\nlet initialState = { count: 0 };\nlet store = process.env.NODE_ENV === 'production' ?  createStore(initialState) : devtools(createStore(initialState));\n\n// ...\n```\n\n### Examples\n\n[README Example on CodeSandbox](https://codesandbox.io/s/l7y7w5qkz9)\n\n### API\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n#### createStore\n\nCreates a new store, which is a tiny evented state container.\n\n**Parameters**\n\n- `state` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** Optional initial state (optional, default `{}`)\n\n**Examples**\n\n```javascript\nlet store = createStore();\nstore.subscribe( state => console.log(state) );\nstore.setState({ a: 'b' });   // logs { a: 'b' }\nstore.setState({ c: 'd' });   // logs { a: 'b', c: 'd' }\n```\n\nReturns **[store](#store)** \n\n#### store\n\nAn observable state container, returned from [createStore](#createstore)\n\n##### action\n\nCreate a bound copy of the given action function.\nThe bound returned function invokes action() and persists the result back to the store.\nIf the return value of `action` is a Promise, the resolved value will be used as state.\n\n**Parameters**\n\n- `action` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** An action of the form `action(state, ...args) -> stateUpdate`\n\nReturns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** boundAction()\n\n##### setState\n\nApply a partial state object to the current state, invoking registered listeners.\n\n**Parameters**\n\n- `update` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** An object with properties to be merged into state\n- `overwrite` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** If `true`, update will replace state instead of being merged into it (optional, default `false`)\n\n##### subscribe\n\nRegister a listener function to be called whenever state is changed. Returns an `unsubscribe()` function.\n\n**Parameters**\n\n- `listener` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** A function to call when state changes. Gets passed the new state.\n\nReturns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** unsubscribe()\n\n##### unsubscribe\n\nRemove a previously-registered listener function.\n\n**Parameters**\n\n- `listener` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** The callback previously passed to `subscribe()` that should be removed.\n\n##### getState\n\nRetrieve the current state object.\n\nReturns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** state\n\n#### connect\n\nWire a component up to the store. Passes state as props, re-renders on change.\n\n**Parameters**\n\n- `mapStateToProps` **([Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function) \\| [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array) \\| [String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** A function mapping of store state to prop values, or an array/CSV of properties to map.\n- `actions` **([Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function) \\| [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object))?** Action functions (pure state mappings), or a factory returning them. Every action function gets current state as the first parameter and any other params next\n\n**Examples**\n\n```javascript\nconst Foo = connect('foo,bar')( ({ foo, bar }) => <div /> )\n```\n\n```javascript\nconst actions = { someAction }\nconst Foo = connect('foo,bar', actions)( ({ foo, bar, someAction }) => <div /> )\n```\n\nReturns **Component** ConnectedComponent\n\n#### Provider\n\n**Extends Component**\n\nProvider exposes a store (passed as `props.store`) into context.\n\nGenerally, an entire application is wrapped in a single `<Provider>` at the root.\n\n**Parameters**\n\n- `props` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** \n    -   `props.store` **Store** A {Store} instance to expose via context.\n\n### Reporting Issues\n\nFound a problem? Want a new feature? First of all, see if your issue or idea has [already been reported](../../issues).\nIf not, just open a [new clear and descriptive issue](../../issues/new).\n\n### License\n\n[MIT License](https://oss.ninja/mit/developit) © [Jason Miller](https://jasonformat.com)\n\n[preact]: https://github.com/developit/preact\n\n[react]: https://github.com/facebook/react\n","_attachments":{},"homepage":"https://github.com/developit/unistore#readme","bugs":{"url":"https://github.com/developit/unistore/issues"},"license":"MIT"}