{"_id":"react-style-singleton","_rev":"3867901","name":"react-style-singleton","description":"Just create a single stylesheet...","dist-tags":{"latest":"2.2.3"},"maintainers":[{"name":"kashey","email":""}],"time":{"modified":"2025-09-01T00:53:17.000Z","created":"2018-06-07T12:53:05.488Z","2.2.3":"2024-12-15T02:27:37.493Z","2.2.2":"2024-12-15T02:06:58.217Z","2.2.1":"2022-06-06T10:45:01.852Z","2.2.0":"2022-04-17T06:08:24.860Z","2.1.1":"2020-11-27T06:18:52.066Z","2.1.0":"2020-04-16T07:48:51.553Z","2.0.0":"2019-06-04T06:03:04.822Z","1.1.1":"2019-01-20T06:49:37.680Z","1.1.0":"2018-12-06T05:45:11.206Z","1.0.1":"2018-06-07T12:53:05.488Z"},"users":{},"author":{"name":"Anton Korzunov","url":"thekashey@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/theKashey/react-style-singleton.git"},"versions":{"2.2.3":{"name":"react-style-singleton","version":"2.2.3","description":"Just create a single stylesheet...","main":"dist/es5/index.js","types":"dist/es5/index.d.ts","jsnext:main":"dist/es2015/index.js","module":"dist/es2015/index.js","module:es2019":"dist/es2019/index.js","scripts":{"dev":"lib-builder dev","test":"jest","test:ci":"jest --runInBand --coverage","build":"lib-builder build && yarn size:report","release":"yarn build && yarn test","size":"npx size-limit","size:report":"npx size-limit --json > .size.json","lint":"lib-builder lint","format":"lib-builder format","update":"lib-builder update","prepublish-only":"yarn build && yarn changelog","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","changelog:rewrite":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0"},"repository":{"type":"git","url":"git+https://github.com/theKashey/react-style-singleton.git"},"bugs":{"url":"https://github.com/theKashey/react-style-singleton/issues"},"homepage":"https://github.com/theKashey/react-style-singleton#readme","author":{"name":"Anton Korzunov","url":"thekashey@gmail.com"},"license":"MIT","devDependencies":{"@theuiteam/lib-builder":"^0.1.4","@size-limit/preset-small-lib":"^11.0.2","size-limit":"^11.0.2","react":"^16.8.6","react-dom":"^16.8.6"},"peerDependencies":{"@types/react":"*","react":"^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"},"peerDependenciesMeta":{"@types/react":{"optional":true}},"keywords":["react","style","css"],"dependencies":{"tslib":"^2.0.0","get-nonce":"^1.0.0"},"engines":{"node":">=10"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,tsx}":["prettier --write","eslint --fix","git add"],"*.{js,css,json,md}":["prettier --write","git add"]},"prettier":{"printWidth":120,"trailingComma":"es5","tabWidth":2,"semi":true,"singleQuote":true},"packageManager":"yarn@1.22.19","_id":"react-style-singleton@2.2.3","gitHead":"dc032ea2e1c783897b34106a3102471dc9fd1a3d","_nodeVersion":"20.15.1","_npmVersion":"10.7.0","dist":{"shasum":"4265608be69a4d70cfe3047f2c6c88b2c3ace388","size":4876,"noattachment":false,"key":"/react-style-singleton/-/react-style-singleton-2.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-style-singleton/download/react-style-singleton-2.2.3.tgz"},"_npmUser":{"name":"kashey","email":"thekashey@gmail.com"},"directories":{},"maintainers":[{"name":"kashey","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-style-singleton_2.2.3_1734229657302_0.19702815950327834"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-15T02:27:37.493Z","publish_time":1734229657493,"_source_registry_name":"default","_cnpm_publish_time":1734229657493},"2.2.2":{"name":"react-style-singleton","version":"2.2.2","description":"Just create a single stylesheet...","main":"dist/es5/index.js","types":"dist/es5/index.d.ts","jsnext:main":"dist/es2015/index.js","module":"dist/es2015/index.js","module:es2019":"dist/es2019/index.js","scripts":{"dev":"lib-builder dev","test":"jest","test:ci":"jest --runInBand --coverage","build":"lib-builder build && yarn size:report","release":"yarn build && yarn test","size":"npx size-limit","size:report":"npx size-limit --json > .size.json","lint":"lib-builder lint","format":"lib-builder format","update":"lib-builder update","prepublish-only":"yarn build && yarn changelog","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","changelog:rewrite":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0"},"repository":{"type":"git","url":"git+https://github.com/theKashey/react-style-singleton.git"},"bugs":{"url":"https://github.com/theKashey/react-style-singleton/issues"},"homepage":"https://github.com/theKashey/react-style-singleton#readme","author":{"name":"Anton Korzunov","url":"thekashey@gmail.com"},"license":"MIT","devDependencies":{"@theuiteam/lib-builder":"^0.1.4","@size-limit/preset-small-lib":"^11.0.2","size-limit":"^11.0.2","react":"^16.8.6","react-dom":"^16.8.6"},"peerDependencies":{"react":"*","@types/react":"^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"},"peerDependenciesMeta":{"@types/react":{"optional":true}},"keywords":["react","style","css"],"dependencies":{"tslib":"^2.0.0","get-nonce":"^1.0.0"},"engines":{"node":">=10"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,tsx}":["prettier --write","eslint --fix","git add"],"*.{js,css,json,md}":["prettier --write","git add"]},"prettier":{"printWidth":120,"trailingComma":"es5","tabWidth":2,"semi":true,"singleQuote":true},"packageManager":"yarn@1.22.19","_id":"react-style-singleton@2.2.2","gitHead":"0855d4b3478326fda30efff7e0511540be7f57e8","_nodeVersion":"20.15.1","_npmVersion":"10.7.0","dist":{"shasum":"1e7a6a92d495ca0354449cb6736784e72ee7eb05","size":4880,"noattachment":false,"key":"/react-style-singleton/-/react-style-singleton-2.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-style-singleton/download/react-style-singleton-2.2.2.tgz"},"_npmUser":{"name":"kashey","email":"thekashey@gmail.com"},"directories":{},"maintainers":[{"name":"kashey","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-style-singleton_2.2.2_1734228418035_0.5643932589294713"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-15T02:06:58.217Z","publish_time":1734228418217,"_source_registry_name":"default","_cnpm_publish_time":1734228418217},"2.2.1":{"name":"react-style-singleton","version":"2.2.1","description":"Just create a single stylesheet...","main":"dist/es5/index.js","types":"dist/es5/index.d.ts","jsnext:main":"dist/es2015/index.js","module":"dist/es2015/index.js","module:es2019":"dist/es2019/index.js","scripts":{"dev":"lib-builder dev","test":"jest","test:ci":"jest --runInBand --coverage","build":"lib-builder build && yarn size:report","release":"yarn build && yarn test","size":"npx size-limit","size:report":"npx size-limit --json > .size.json","lint":"lib-builder lint","format":"lib-builder format","update":"lib-builder update","prepublish-only":"yarn build && yarn changelog","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","changelog:rewrite":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0"},"repository":"","bugs":{"url":"https://github.com/theKashey/react-style-singleton/issues"},"homepage":"https://github.com/theKashey/react-style-singleton#readme","author":{"name":"Anton Korzunov","url":"thekashey@gmail.com"},"license":"MIT","devDependencies":{"@theuiteam/lib-builder":"^0.1.4","@size-limit/preset-small-lib":"^2.1.6","@types/invariant":"^2.2.29","react":"^16.8.6","react-dom":"^16.8.6"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","@types/react":"^16.8.0 || ^17.0.0 || ^18.0.0"},"peerDependenciesMeta":{"@types/react":{"optional":true}},"keywords":["react","style","css"],"dependencies":{"tslib":"^2.0.0","get-nonce":"^1.0.0","invariant":"^2.2.4"},"engines":{"node":">=10"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,tsx}":["prettier --write","eslint --fix","git add"],"*.{js,css,json,md}":["prettier --write","git add"]},"prettier":{"printWidth":120,"trailingComma":"es5","tabWidth":2,"semi":true,"singleQuote":true},"gitHead":"847cf75f8e2e799b5518df8cc6a1b5b59f85fd6c","_id":"react-style-singleton@2.2.1","_nodeVersion":"16.3.0","_npmVersion":"7.15.1","dist":{"shasum":"f99e420492b2d8f34d38308ff660b60d0b1205b4","size":4138,"noattachment":false,"key":"/react-style-singleton/-/react-style-singleton-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-style-singleton/download/react-style-singleton-2.2.1.tgz"},"_npmUser":{"name":"kashey","email":"thekashey@gmail.com"},"directories":{},"maintainers":[{"name":"kashey","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-style-singleton_2.2.1_1654512301701_0.7809185400480991"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-06T10:45:07.316Z","publish_time":1654512301852,"_cnpm_publish_time":1654512301852},"2.2.0":{"name":"react-style-singleton","version":"2.2.0","description":"Just create a single stylesheet...","main":"dist/es5/index.js","types":"dist/es5/index.d.ts","jsnext:main":"dist/es2015/index.js","module":"dist/es2015/index.js","module:es2019":"dist/es2019/index.js","scripts":{"dev":"lib-builder dev","test":"jest","test:ci":"jest --runInBand --coverage","build":"lib-builder build && yarn size:report","release":"yarn build && yarn test","size":"npx size-limit","size:report":"npx size-limit --json > .size.json","lint":"lib-builder lint","format":"lib-builder format","update":"lib-builder update","prepublish-only":"yarn build && yarn changelog","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","changelog:rewrite":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0"},"repository":"","bugs":{"url":"https://github.com/theKashey/react-style-singleton/issues"},"homepage":"https://github.com/theKashey/react-style-singleton#readme","author":{"name":"Anton Korzunov","url":"thekashey@gmail.com"},"license":"MIT","devDependencies":{"@theuiteam/lib-builder":"^0.1.4","@size-limit/preset-small-lib":"^2.1.6","@types/invariant":"^2.2.29","react":"^16.8.6","react-dom":"^16.8.6"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","@types/react":"^16.8.0 || ^17.0.0 || ^18.0.0"},"peerDependenciesMeta":{"@types/react":{"optional":true}},"keywords":["react","style","css"],"dependencies":{"tslib":"^2.0.0","get-nonce":"^1.0.0","invariant":"^2.2.4"},"engines":{"node":">=10"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,tsx}":["prettier --write","eslint --fix","git add"],"*.{js,css,json,md}":["prettier --write","git add"]},"prettier":{"printWidth":120,"trailingComma":"es5","tabWidth":2,"semi":true,"singleQuote":true},"gitHead":"73dafa37e7b505b9f9b4d1beefe2c94b02467301","_id":"react-style-singleton@2.2.0","_nodeVersion":"16.3.0","_npmVersion":"7.15.1","dist":{"shasum":"70f45f5fef97fdb9a52eed98d1839fa6b9032b22","size":3667,"noattachment":false,"key":"/react-style-singleton/-/react-style-singleton-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-style-singleton/download/react-style-singleton-2.2.0.tgz"},"_npmUser":{"name":"kashey","email":"thekashey@gmail.com"},"directories":{},"maintainers":[{"name":"kashey","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-style-singleton_2.2.0_1650175704711_0.5627054980533752"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-17T06:08:32.242Z","deprecated":"wrong managing of dynamic styles","publish_time":1650175704860,"_cnpm_publish_time":1650175704860},"2.1.1":{"name":"react-style-singleton","version":"2.1.1","description":"Just create a single stylesheet...","main":"dist/es5/index.js","types":"dist/es5/index.d.ts","jsnext:main":"dist/es2015/index.js","module":"dist/es2015/index.js","scripts":{"dev":"ts-react-toolbox dev","bootstrap":"ts-react-toolbox init","test":"ts-react-toolbox test","test:ci":"ts-react-toolbox test --runInBand --coverage","test:size":"npx size-limit","build":"ts-react-toolbox build","release":"ts-react-toolbox release","prepublishOnly":"yarn build","lint":"ts-react-toolbox lint","static":"ts-react-toolbox publish","typecheck:flow":"flow check","format":"ts-react-toolbox format","analyze":"ts-react-toolbox analyze"},"repository":"","bugs":{"url":"https://github.com/theKashey/react-style-singleton/issues"},"homepage":"https://github.com/theKashey/react-style-singleton#readme","author":{"name":"Anton Korzunov","url":"thekashey@gmail.com"},"license":"MIT","devDependencies":{"@types/invariant":"^2.2.29","react":"^16.8.6","react-dom":"^16.8.6","ts-react-toolbox":"^0.2.2"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","@types/react":"^16.8.0 || ^17.0.0"},"peerDependenciesMeta":{"@types/react":{"optional":true}},"keywords":["react","style","css"],"dependencies":{"get-nonce":"^1.0.0","invariant":"^2.2.4","tslib":"^1.0.0"},"engines":{"node":">=8.5.0"},"size-limit":[{"path":"dist/es2015/index.js","limit":"0.5 KB"}],"gitHead":"5972081a19756bc4a578ac8bd87b5169d5c7ccdf","_id":"react-style-singleton@2.1.1","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"shasum":"ce7f90b67618be2b6b94902a30aaea152ce52e66","size":2444,"noattachment":false,"key":"/react-style-singleton/-/react-style-singleton-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-style-singleton/download/react-style-singleton-2.1.1.tgz"},"_npmUser":{"name":"kashey","email":"thekashey@gmail.com"},"directories":{},"maintainers":[{"name":"kashey","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-style-singleton_2.1.1_1606457931901_0.6163980430489213"},"_hasShrinkwrap":false,"publish_time":1606457932066,"_cnpm_publish_time":1606457932066},"2.1.0":{"name":"react-style-singleton","version":"2.1.0","description":"Just create a single stylesheet...","main":"dist/es5/index.js","types":"dist/es5/index.d.ts","jsnext:main":"dist/es2015/index.js","module":"dist/es2015/index.js","scripts":{"dev":"ts-react-toolbox dev","bootstrap":"ts-react-toolbox init","test":"ts-react-toolbox test","test:ci":"ts-react-toolbox test --runInBand --coverage","test:size":"npx size-limit","build":"ts-react-toolbox build","release":"ts-react-toolbox release","prepublishOnly":"yarn build","lint":"ts-react-toolbox lint","static":"ts-react-toolbox publish","typecheck:flow":"flow check","format":"ts-react-toolbox format","analyze":"ts-react-toolbox analyze"},"repository":"","bugs":{"url":"https://github.com/theKashey/react-style-singleton/issues"},"homepage":"https://github.com/theKashey/react-style-singleton#readme","author":{"name":"Anton Korzunov","url":"thekashey@gmail.com"},"license":"MIT","devDependencies":{"@types/invariant":"^2.2.29","react":"^16.8.6","react-dom":"^16.8.6","ts-react-toolbox":"^0.2.2"},"peerDependencies":{"react":"^16.8.0","@types/react":"^16.8.0"},"peerDependenciesMeta":{"@types/react":{"optional":true}},"keywords":["react","style","css"],"dependencies":{"get-nonce":"^1.0.0","invariant":"^2.2.4","tslib":"^1.0.0"},"engines":{"node":">=8.5.0"},"size-limit":[{"path":"dist/es2015/index.js","limit":"0.5 KB"}],"gitHead":"3cf524b903660af26f5a1e0f71e391980a6aedbb","_id":"react-style-singleton@2.1.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"7396885332e9729957f9df51f08cadbfc164e1c4","size":2437,"noattachment":false,"key":"/react-style-singleton/-/react-style-singleton-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-style-singleton/download/react-style-singleton-2.1.0.tgz"},"maintainers":[{"name":"kashey","email":""}],"_npmUser":{"name":"kashey","email":"thekashey@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-style-singleton_2.1.0_1587023331260_0.7958088198221329"},"_hasShrinkwrap":false,"publish_time":1587023331553,"_cnpm_publish_time":1587023331553},"2.0.0":{"name":"react-style-singleton","version":"2.0.0","description":"Just create a single stylesheet...","main":"dist/es5/index.js","types":"dist/es5/index.d.ts","jsnext:main":"dist/es2015/index.js","module":"dist/es2015/index.js","scripts":{"dev":"ts-react-toolbox dev","bootstrap":"ts-react-toolbox init","test":"ts-react-toolbox test","test:ci":"ts-react-toolbox test --runInBand --coverage","test:size":"npx size-limit","build":"ts-react-toolbox build","release":"ts-react-toolbox release","prepublishOnly":"yarn build","lint":"ts-react-toolbox lint","static":"ts-react-toolbox publish","typecheck:flow":"flow check","format":"ts-react-toolbox format","analyze":"ts-react-toolbox analyze"},"repository":"","bugs":{"url":"https://github.com/theKashey/react-style-singleton/issues"},"homepage":"https://github.com/theKashey/react-style-singleton#readme","author":{"name":"Anton Korzunov","url":"thekashey@gmail.com"},"license":"MIT","devDependencies":{"@types/invariant":"^2.2.29","@types/react":"^16.8.19","react":"^16.8.6","react-dom":"^16.8.6","ts-react-toolbox":"^0.2.2"},"peerDependencies":{"react":"^16.8.0"},"keywords":[],"dependencies":{"invariant":"^2.2.4","tslib":"^1.0.0"},"engines":{"node":">=8.5.0"},"size-limit":[{"path":"dist/es5/index.js","ignore":["react-dom","tslib"],"limit":"0.5 KB"}],"gitHead":"d13bbf3062619a0715c87c8b6f1e9d25051e0fe7","_id":"react-style-singleton@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"kashey","email":"thekashey@gmail.com"},"dist":{"shasum":"fdc9ff3a82674c256f0033d140b7b1d9d37e7f17","size":2353,"noattachment":false,"key":"/react-style-singleton/-/react-style-singleton-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-style-singleton/download/react-style-singleton-2.0.0.tgz"},"maintainers":[{"name":"kashey","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-style-singleton_2.0.0_1559628184713_0.6513786965605348"},"_hasShrinkwrap":false,"publish_time":1559628184822,"_cnpm_publish_time":1559628184822},"1.1.1":{"name":"react-style-singleton","version":"1.1.1","description":"Just create a single stylesheet...","main":"dist/es5/index.js","types":"dist/es5/index.d.ts","jsnext:main":"dist/es2015/index.js","module":"dist/es2015/index.js","scripts":{"dev":"ts-react-toolbox dev","bootstrap":"ts-react-toolbox init","test":"ts-react-toolbox test","test:ci":"ts-react-toolbox test --runInBand --coverage","test:size":"npx size-limit","build":"ts-react-toolbox build","release":"ts-react-toolbox release","prepublishOnly":"yarn build","lint":"ts-react-toolbox lint","static":"ts-react-toolbox publish","typecheck:flow":"flow check","format":"ts-react-toolbox format","analyze":"ts-react-toolbox analyze"},"repository":"","bugs":{"url":"https://github.com/theKashey/react-style-singleton/issues"},"homepage":"https://github.com/theKashey/react-style-singleton#readme","author":{"name":"Anton Korzunov","url":"thekashey@gmail.com"},"license":"MIT","devDependencies":{"@types/invariant":"^2.2.29","ts-react-toolbox":"^0.2.2"},"peerDependencies":{"react":"^16.3.0"},"keywords":[],"dependencies":{"invariant":"^2.2.4","tslib":"^1.0.0"},"engines":{"node":">=8.5.0"},"size-limit":[{"path":"dist/es5/index.js","limit":"1 KB"}],"gitHead":"c105333e29c59094d077b0dbbf2125961b9dee75","_id":"react-style-singleton@1.1.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"kashey","email":"thekashey@gmail.com"},"dist":{"shasum":"b2b698765519da812b80f55ab3c5fc5d849a2e63","size":2520,"noattachment":false,"key":"/react-style-singleton/-/react-style-singleton-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-style-singleton/download/react-style-singleton-1.1.1.tgz"},"maintainers":[{"name":"kashey","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-style-singleton_1.1.1_1547966977527_0.25342870491160263"},"_hasShrinkwrap":false,"publish_time":1547966977680,"_cnpm_publish_time":1547966977680},"1.1.0":{"name":"react-style-singleton","version":"1.1.0","description":"Just create a single stylesheet...","main":"dist/es5/index.js","types":"dist/es5/index.d.ts","jsnext:main":"dist/es2015/index.js","module":"dist/es2015/index.js","scripts":{"dev":"ts-react-toolbox dev","bootstrap":"ts-react-toolbox init","test":"ts-react-toolbox test","test:ci":"ts-react-toolbox test --runInBand --coverage","test:size":"npx size-limit","build":"ts-react-toolbox build","release":"ts-react-toolbox release","prepublishOnly":"yarn build","lint":"ts-react-toolbox lint","static":"ts-react-toolbox publish","typecheck:flow":"flow check","format":"ts-react-toolbox format","analyze":"ts-react-toolbox analyze"},"repository":"","bugs":{"url":"https://github.com/theKashey/react-style-singleton/issues"},"homepage":"https://github.com/theKashey/react-style-singleton#readme","author":{"name":"Anton Korzunov","url":"thekashey@gmail.com"},"license":"MIT","devDependencies":{"@types/invariant":"^2.2.29","ts-react-toolbox":"^0.2.2"},"peerDependencies":{"react":"^16.3.0","styled-components":"^3.3.2"},"keywords":[],"dependencies":{"invariant":"^2.2.4","tslib":"^1.0.0"},"engines":{"node":">=8.5.0"},"size-limit":[{"path":"dist/es5/index.js","limit":"1 KB"}],"gitHead":"fcc560ffe9c90f7d9af3a60d5d92a062eb56d8a4","_id":"react-style-singleton@1.1.0","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"kashey","email":"thekashey@gmail.com"},"dist":{"shasum":"ca2a40cc5bb3c513900141af34019cb80b7c656c","size":2536,"noattachment":false,"key":"/react-style-singleton/-/react-style-singleton-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-style-singleton/download/react-style-singleton-1.1.0.tgz"},"maintainers":[{"name":"kashey","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-style-singleton_1.1.0_1544075110997_0.9843625753171354"},"_hasShrinkwrap":false,"publish_time":1544075111206,"_cnpm_publish_time":1544075111206},"1.0.1":{"name":"react-style-singleton","version":"1.0.1","description":"Just create a single stylesheet...","main":"dist/index.js","types":"dist/index.d.ts","files":["dist"],"scripts":{"dev":"ts-react-toolbox dev","bootstrap":"ts-react-toolbox init","test":"ts-react-toolbox test","test:ci":"ts-react-toolbox test --runInBand --coverage","test:size":"size-limit","build":"ts-react-toolbox build","release":"ts-react-toolbox release","prepublishOnly":"yarn build","lint":"ts-react-toolbox lint","static":"ts-react-toolbox publish","typecheck:flow":"flow check","format":"ts-react-toolbox format","analyze":"ts-react-toolbox analyze"},"repository":"","bugs":{"url":"https://github.com/theKashey/react-style-singleton/issues"},"homepage":"https://github.com/theKashey/react-style-singleton#readme","author":{"name":"Anton Korzunov","url":"thekashey@gmail.com"},"license":"MIT","devDependencies":{"ts-react-toolbox":"^0.1.10"},"peerDependencies":{"react":"^16.3.0"},"keywords":[],"dependencies":{"@types/invariant":"^2.2.29","invariant":"^2.2.4"},"engines":{"node":">=8.5.0"},"size-limit":[{"path":"dist/index.js","limit":"1 KB"}],"gitHead":"9f45db312fd6714174f4e98385159aed81829540","_id":"react-style-singleton@1.0.1","_npmVersion":"5.5.1","_nodeVersion":"9.0.0","_npmUser":{"name":"kashey","email":"thekashey@gmail.com"},"dist":{"shasum":"8de026b506d62b006b7f1d821d3ea3a91f794c3e","size":2477,"noattachment":false,"key":"/react-style-singleton/-/react-style-singleton-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-style-singleton/download/react-style-singleton-1.0.1.tgz"},"maintainers":[{"name":"kashey","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-style-singleton_1.0.1_1528375985430_0.2551886406011614"},"_hasShrinkwrap":false,"publish_time":1528375985488,"_cnpm_publish_time":1528375985488}},"readme":"react-style-singleton\n====\n\n__300b__ with all dependencies, minified and gzipped\n\n\nCreates a style component with internal _tracker_.\n- Adds styles to the browser on the __first__ instance mount.\n- Removes after the __last__ instance unmount.\n- Thus helps you deliver styles you need to the customer, and clean up later.\n- Is not server-side rendering compatible!\n\n\n# API\n\n## Component\n\n```js\nimport {styleSingleton} from 'react-style-singleton'\n\nconst Style = styleSingleton();\n\nexport const App = () => (\n  <Style styles={'body {color:red}'} />\n);\n```\n\n## Hook\n\n```js\nimport {styleHookSingleton} from 'react-style-singleton';\n\nconst useStyle = styleHookSingleton();\nconst useAnotherStyle = styleHookSingleton();\n\nexport const App = () => {\n  useStyle('div {color:red}');\n  useAnotherStyle('body { background-color:red }');\n  return (<div />);\n}\n```\n\n# License\n\nMIT","_attachments":{},"homepage":"https://github.com/theKashey/react-style-singleton#readme","bugs":{"url":"https://github.com/theKashey/react-style-singleton/issues"},"license":"MIT"}