{"_id":"css-in-js-utils","_rev":"259880","name":"css-in-js-utils","description":"Useful utility functions for CSS in JS solutions","dist-tags":{"latest":"3.1.0"},"maintainers":[{"name":"rofrischmann","email":"robin@rofrischmann.de"}],"time":{"modified":"2021-06-03T16:41:05.000Z","created":"2017-02-13T22:35:25.280Z","3.1.0":"2020-08-11T13:10:49.966Z","3.0.4":"2019-11-19T13:45:39.888Z","3.0.3":"2019-11-19T13:43:13.276Z","3.0.2":"2019-05-08T08:41:41.092Z","3.0.1":"2019-05-08T08:40:57.756Z","3.0.0":"2018-09-25T08:13:39.967Z","2.0.1":"2018-04-04T07:41:19.162Z","2.0.0":"2017-08-30T15:22:33.395Z","1.0.3":"2017-03-06T19:05:06.948Z","1.0.2":"2017-02-17T12:39:49.366Z","1.0.1":"2017-02-17T08:23:43.802Z","1.0.0":"2017-02-13T22:35:25.280Z"},"users":{},"author":{"name":"robinweser","email":"contact@weser.io"},"repository":{"type":"git","url":"git+https://github.com/robinweser/css-in-js-utils.git"},"versions":{"3.1.0":{"name":"css-in-js-utils","version":"3.1.0","description":"Useful utility functions for CSS in JS solutions","main":"lib/index.js","module":"es/index.js","types":"es/index.d.ts","jsnext:main":"es/index.js","sideEffects":false,"keywords":["css","cssinjs","utils","small"],"repository":{"type":"git","url":"git+https://github.com/robinweser/css-in-js-utils.git"},"author":{"name":"robinweser","email":"contact@weser.io"},"license":"MIT","scripts":{"build":"yarn run clean && yarn build:es && yarn build:lib","build:lib":"cross-env BABEL_ENV=commonjs babel modules --extensions '.ts' --ignore 'modules/__tests__','**/*.d.ts' --out-dir lib","build:es":"tsc && babel es --out-dir es","clean":"rimraf es lib coverage","check":"yarn lint && yarn test:coverage","format":"prettier --write \"modules/**/*.{js,ts}\"","lint":"eslint 'modules/**/*.{js,ts}'","release":"git pull --rebase && yarn run check && yarn build && npm publish","test":"cross-env BABEL_ENV=commonjs jest","test:coverage":"cross-env BABEL_ENV=commonjs jest --coverage","watch":"yarn test -- --watch"},"jest":{"moduleDirectories":["node_modules","modules"]},"dependencies":{"hyphenate-style-name":"^1.0.3"},"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.0","@babel/preset-env":"^7.9.5","@babel/preset-typescript":"^7.9.0","@types/jest":"^25.2.1","@typescript-eslint/eslint-plugin":"^2.26.0","@typescript-eslint/parser":"^2.26.0","babel-jest":"^25.2.6","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","cross-env":"^7.0.2","eslint":"^6.8.0","eslint-config-airbnb-base":"^14.1.0","eslint-plugin-import":"^2.20.2","jest":"^25.2.6","prettier":"^1.7.4","rimraf":"^2.6.1","typescript":"^3.8.3"},"gitHead":"401c5070c6dcab5f0daef591b0bdffbdd7c4c60b","bugs":{"url":"https://github.com/robinweser/css-in-js-utils/issues"},"homepage":"https://github.com/robinweser/css-in-js-utils#readme","_id":"css-in-js-utils@3.1.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"640ae6a33646d401fc720c54fc61c42cd76ae2bb","size":17937,"noattachment":false,"key":"/css-in-js-utils/-/css-in-js-utils-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-in-js-utils/download/css-in-js-utils-3.1.0.tgz"},"maintainers":[{"name":"rofrischmann","email":"robin@rofrischmann.de"}],"_npmUser":{"name":"rofrischmann","email":"robin@weser.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/css-in-js-utils_3.1.0_1597151449834_0.365743358390725"},"_hasShrinkwrap":false,"publish_time":1597151449966,"_cnpm_publish_time":1597151449966},"3.0.4":{"name":"css-in-js-utils","version":"3.0.4","description":"Useful utility functions for CSS in JS solutions","main":"lib/index.js","module":"es/index.js","jsnext:main":"es/index.js","sideEffects":false,"keywords":["css","cssinjs","utils","small"],"repository":{"type":"git","url":"git+https://github.com/robinweser/css-in-js-utils.git"},"author":{"name":"robinweser","email":"contact@weser.io"},"license":"MIT","scripts":{"build":"yarn run clean && yarn build:lib && yarn build:es","build:lib":"cross-env BABEL_ENV=commonjs babel modules --out-dir lib --ignore __tests__","build:es":"babel modules --out-dir es --ignore __tests__","clean":"rimraf es lib coverage","check":"yarn lint && yarn test:coverage","format":"prettier --write \"modules/**/*.js\"","lint":"eslint modules/**/*.js","release":"git pull --rebase && yarn run check && yarn build && npm publish","test":"cross-env BABEL_ENV=commonjs jest","test:coverage":"cross-env BABEL_ENV=commonjs jest --coverage","watch":"yarn test -- --watch"},"jest":{"moduleDirectories":["node_modules","modules"]},"dependencies":{"hyphenate-style-name":"^1.0.3"},"devDependencies":{"@babel/cli":"^7.2.0","@babel/core":"^7.2.2","@babel/preset-env":"^7.2.0","babel-core":"7.0.0-bridge.0","babel-eslint":"^7.1.1","babel-jest":"^23.6.0","babel-plugin-transform-es2015-modules-commonjs":"^6.24.1","cross-env":"^5.2.0","eslint":"^3.14.1","eslint-config-airbnb":"^14.0.0","eslint-plugin-flowtype":"^2.30.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^3.0.2","eslint-plugin-react":"^6.9.0","jest":"^23.6.0","prettier":"^1.7.4","rimraf":"^2.6.1"},"gitHead":"bc362ca2c34d081bf907c2557b299b37300ff965","bugs":{"url":"https://github.com/robinweser/css-in-js-utils/issues"},"homepage":"https://github.com/robinweser/css-in-js-utils#readme","_id":"css-in-js-utils@3.0.4","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"9173c31b1fcb31401f0baf84fb3b680971b49eab","size":30613,"noattachment":false,"key":"/css-in-js-utils/-/css-in-js-utils-3.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-in-js-utils/download/css-in-js-utils-3.0.4.tgz"},"maintainers":[{"name":"rofrischmann","email":"robin@rofrischmann.de"}],"_npmUser":{"name":"rofrischmann","email":"robin@weser.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/css-in-js-utils_3.0.4_1574171139744_0.35244974799472906"},"_hasShrinkwrap":false,"publish_time":1574171139888,"_cnpm_publish_time":1574171139888},"3.0.3":{"name":"css-in-js-utils","version":"3.0.3","description":"Useful utility functions for CSS in JS solutions","main":"lib/index.js","module":"es/index.js","jsnext:main":"es/index.js","sideEffects":false,"keywords":["css","cssinjs","utils","small"],"repository":{"type":"git","url":"git+https://github.com/robinweser/css-in-js-utils.git"},"author":{"name":"robinweser","email":"contact@weser.io"},"license":"MIT","scripts":{"build":"yarn run clean && yarn build:lib && yarn build:es","build:lib":"cross-env BABEL_ENV=commonjs babel modules --out-dir lib --ignore __tests__","build:es":"babel modules --out-dir es --ignore __tests__","clean":"rimraf es lib coverage","check":"yarn lint && yarn test:coverage","format":"prettier --write \"modules/**/*.js\"","lint":"eslint modules/**/*.js","release":"git pull --rebase && yarn run check && yarn build && npm publish","test":"cross-env BABEL_ENV=commonjs jest","test:coverage":"cross-env BABEL_ENV=commonjs jest --coverage","watch":"yarn test -- --watch"},"jest":{"moduleDirectories":["node_modules","modules"]},"dependencies":{"hyphenate-style-name":"^1.0.3"},"devDependencies":{"@babel/cli":"^7.2.0","@babel/core":"^7.2.2","@babel/preset-env":"^7.2.0","babel-core":"7.0.0-bridge.0","babel-eslint":"^7.1.1","babel-jest":"^23.6.0","babel-plugin-transform-es2015-modules-commonjs":"^6.24.1","cross-env":"^5.2.0","eslint":"^3.14.1","eslint-config-airbnb":"^14.0.0","eslint-plugin-flowtype":"^2.30.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^3.0.2","eslint-plugin-react":"^6.9.0","jest":"^23.6.0","prettier":"^1.7.4","rimraf":"^2.6.1"},"gitHead":"c00c759404a999243381c7c7d2b7b78c27feea51","bugs":{"url":"https://github.com/robinweser/css-in-js-utils/issues"},"homepage":"https://github.com/robinweser/css-in-js-utils#readme","_id":"css-in-js-utils@3.0.3","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"947c955a37b94085348738f435b849d16419b5c8","size":30616,"noattachment":false,"key":"/css-in-js-utils/-/css-in-js-utils-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-in-js-utils/download/css-in-js-utils-3.0.3.tgz"},"maintainers":[{"name":"rofrischmann","email":"robin@rofrischmann.de"}],"_npmUser":{"name":"rofrischmann","email":"robin@weser.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/css-in-js-utils_3.0.3_1574170993173_0.5164638465806701"},"_hasShrinkwrap":false,"publish_time":1574170993276,"_cnpm_publish_time":1574170993276},"3.0.2":{"name":"css-in-js-utils","version":"3.0.2","description":"Useful utility functions for CSS in JS solutions","main":"lib/index.js","keywords":["css","cssinjs","utils"],"repository":{"type":"git","url":"git+https://github.com/rofrischmann/css-in-js-utils.git"},"author":{"name":"Robin Frischmann","email":"robin@rofrischmann.de"},"license":"MIT","scripts":{"babel":"babel -d lib modules","check":"npm run format && npm run lint && npm run test:coverage && npm run flow","format":"prettier --write \"modules/**/*.js\"","flow":"flow","lint":"eslint modules","release":"npm run check && npm run babel && npm publish","test":"jest","test:coverage":"jest --coverage"},"jest":{"rootDir":"modules"},"dependencies":{"hyphenate-style-name":"^1.0.2"},"devDependencies":{"babel-cli":"^6.22.1","babel-core":"^6.22.1","babel-eslint":"^7.1.1","babel-jest":"^18.0.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.22.0","babel-preset-react":"^6.22.0","babel-preset-stage-0":"^6.22.0","codeclimate-test-reporter":"^0.4.0","eslint":"^3.14.1","eslint-config-airbnb":"^14.0.0","eslint-plugin-flowtype":"^2.30.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^3.0.2","eslint-plugin-react":"^6.9.0","flow-bin":"^0.81.0","jest":"^18.1.0","prettier":"^1.7.3"},"gitHead":"194b5dfa5402bb1f642ae45bbace3c3d8946d664","bugs":{"url":"https://github.com/rofrischmann/css-in-js-utils/issues"},"homepage":"https://github.com/rofrischmann/css-in-js-utils#readme","_id":"css-in-js-utils@3.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"rofrischmann","email":"robin@rofrischmann.de"},"dist":{"shasum":"829a7922630458653a3f83c9b8dbd870c9eb2e24","size":7752,"noattachment":false,"key":"/css-in-js-utils/-/css-in-js-utils-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-in-js-utils/download/css-in-js-utils-3.0.2.tgz"},"maintainers":[{"name":"rofrischmann","email":"robin@rofrischmann.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/css-in-js-utils_3.0.2_1557304900902_0.07420969254495313"},"_hasShrinkwrap":false,"publish_time":1557304901092,"_cnpm_publish_time":1557304901092},"3.0.1":{"name":"css-in-js-utils","version":"3.0.1","description":"Useful utility functions for CSS in JS solutions","main":"lib/index.js","keywords":["css","cssinjs","utils"],"repository":{"type":"git","url":"git+https://github.com/rofrischmann/css-in-js-utils.git"},"author":{"name":"Robin Frischmann","email":"robin@rofrischmann.de"},"license":"MIT","scripts":{"babel":"babel -d lib modules","check":"npm run format && npm run lint && npm run test:coverage && npm run flow","format":"prettier --write \"modules/**/*.js\"","flow":"flow","lint":"eslint modules","release":"npm run check && npm run babel && npm publish","test":"jest","test:coverage":"jest --coverage"},"jest":{"rootDir":"modules"},"dependencies":{"hyphenate-style-name":"^1.0.2"},"devDependencies":{"babel-cli":"^6.22.1","babel-core":"^6.22.1","babel-eslint":"^7.1.1","babel-jest":"^18.0.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.22.0","babel-preset-react":"^6.22.0","babel-preset-stage-0":"^6.22.0","codeclimate-test-reporter":"^0.4.0","eslint":"^3.14.1","eslint-config-airbnb":"^14.0.0","eslint-plugin-flowtype":"^2.30.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^3.0.2","eslint-plugin-react":"^6.9.0","flow-bin":"^0.81.0","jest":"^18.1.0","prettier":"^1.7.3"},"gitHead":"194b5dfa5402bb1f642ae45bbace3c3d8946d664","bugs":{"url":"https://github.com/rofrischmann/css-in-js-utils/issues"},"homepage":"https://github.com/rofrischmann/css-in-js-utils#readme","_id":"css-in-js-utils@3.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"rofrischmann","email":"robin@rofrischmann.de"},"dist":{"shasum":"edf22b7cede5ba250b2fca580080c9a6fbb7730f","size":7396,"noattachment":false,"key":"/css-in-js-utils/-/css-in-js-utils-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-in-js-utils/download/css-in-js-utils-3.0.1.tgz"},"maintainers":[{"name":"rofrischmann","email":"robin@rofrischmann.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/css-in-js-utils_3.0.1_1557304857353_0.15998632322638695"},"_hasShrinkwrap":false,"publish_time":1557304857756,"_cnpm_publish_time":1557304857756},"3.0.0":{"name":"css-in-js-utils","version":"3.0.0","description":"Useful utility functions for CSS in JS solutions","main":"lib/index.js","keywords":["css","cssinjs","utils"],"repository":{"type":"git","url":"git+https://github.com/rofrischmann/css-in-js-utils.git"},"author":{"name":"Robin Frischmann","email":"robin@rofrischmann.de"},"license":"MIT","scripts":{"babel":"babel -d lib modules","check":"npm run format && npm run lint && npm run test:coverage && npm run flow","format":"prettier --write \"modules/**/*.js\"","flow":"flow","lint":"eslint modules","release":"npm run check && npm run babel && npm publish","test":"jest","test:coverage":"jest --coverage"},"jest":{"rootDir":"modules"},"dependencies":{"hyphenate-style-name":"^1.0.2"},"devDependencies":{"babel-cli":"^6.22.1","babel-core":"^6.22.1","babel-eslint":"^7.1.1","babel-jest":"^18.0.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.22.0","babel-preset-react":"^6.22.0","babel-preset-stage-0":"^6.22.0","codeclimate-test-reporter":"^0.4.0","eslint":"^3.14.1","eslint-config-airbnb":"^14.0.0","eslint-plugin-flowtype":"^2.30.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^3.0.2","eslint-plugin-react":"^6.9.0","flow-bin":"^0.81.0","jest":"^18.1.0","prettier":"^1.7.3"},"gitHead":"64dc94cd00bf0947701a2898e8647591328eb0e8","bugs":{"url":"https://github.com/rofrischmann/css-in-js-utils/issues"},"homepage":"https://github.com/rofrischmann/css-in-js-utils#readme","_id":"css-in-js-utils@3.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.2.1","_npmUser":{"name":"rofrischmann","email":"robin@rofrischmann.de"},"dist":{"shasum":"4379185f5cc79f9eba39b4e795c317f253ffaa40","size":7781,"noattachment":false,"key":"/css-in-js-utils/-/css-in-js-utils-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-in-js-utils/download/css-in-js-utils-3.0.0.tgz"},"maintainers":[{"name":"rofrischmann","email":"robin@rofrischmann.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/css-in-js-utils_3.0.0_1537863219747_0.8107284879595589"},"_hasShrinkwrap":false,"publish_time":1537863219967,"_cnpm_publish_time":1537863219967},"2.0.1":{"name":"css-in-js-utils","version":"2.0.1","description":"Useful utility functions for CSS in JS solutions","main":"lib/index.js","files":["LICENSE","README.md","lib/"],"keywords":["css","cssinjs","utils"],"repository":{"type":"git","url":"git+https://github.com/rofrischmann/css-in-js-utils.git"},"author":{"name":"Robin Frischmann","email":"robin@rofrischmann.de"},"license":"MIT","scripts":{"babel":"babel -d lib modules","check":"npm run format && npm run lint && npm run test:coverage && npm run flow","format":"prettier-eslint modules","flow":"flow","lint":"eslint modules","release":"npm run check && npm run babel && npm publish","test":"jest","test:coverage":"jest --coverage"},"jest":{"rootDir":"modules"},"dependencies":{"hyphenate-style-name":"^1.0.2","isobject":"^3.0.1"},"devDependencies":{"babel-cli":"^6.22.1","babel-core":"^6.22.1","babel-eslint":"^7.1.1","babel-jest":"^18.0.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.22.0","babel-preset-react":"^6.22.0","babel-preset-stage-0":"^6.22.0","codeclimate-test-reporter":"^0.4.0","eslint":"^3.14.1","eslint-config-airbnb":"^14.0.0","eslint-plugin-flowtype":"^2.30.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^3.0.2","eslint-plugin-react":"^6.9.0","flow-bin":"^0.38.0","jest":"^18.1.0","prettier-eslint-cli":"^1.1.0"},"gitHead":"bf8576c09104afc2120b15208670237da58fb4f7","bugs":{"url":"https://github.com/rofrischmann/css-in-js-utils/issues"},"homepage":"https://github.com/rofrischmann/css-in-js-utils#readme","_id":"css-in-js-utils@2.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.0.0","_npmUser":{"name":"rofrischmann","email":"robin@rofrischmann.de"},"dist":{"shasum":"3b472b398787291b47cfe3e44fecfdd9e914ba99","size":7250,"noattachment":false,"key":"/css-in-js-utils/-/css-in-js-utils-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-in-js-utils/download/css-in-js-utils-2.0.1.tgz"},"maintainers":[{"name":"rofrischmann","email":"robin@rofrischmann.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/css-in-js-utils_2.0.1_1522827679055_0.471421415613833"},"_hasShrinkwrap":false,"publish_time":1522827679162,"_cnpm_publish_time":1522827679162},"2.0.0":{"name":"css-in-js-utils","version":"2.0.0","description":"Useful utility functions for CSS in JS solutions","main":"lib/index.js","files":["LICENSE","README.md","lib/"],"keywords":["css","cssinjs","utils"],"repository":{"type":"git","url":"git+https://github.com/rofrischmann/css-in-js-utils.git"},"author":{"name":"Robin Frischmann","email":"robin@rofrischmann.de"},"license":"MIT","scripts":{"babel":"babel -d lib modules","check":"npm run format && npm run lint && npm run test:coverage && npm run flow","format":"prettier-eslint modules","flow":"flow","lint":"eslint modules","release":"npm run check && npm run babel && npm publish","test":"jest","test:coverage":"jest --coverage"},"jest":{"rootDir":"modules"},"dependencies":{"hyphenate-style-name":"^1.0.2"},"devDependencies":{"babel-cli":"^6.22.1","babel-core":"^6.22.1","babel-eslint":"^7.1.1","babel-jest":"^18.0.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.22.0","babel-preset-react":"^6.22.0","babel-preset-stage-0":"^6.22.0","codeclimate-test-reporter":"^0.4.0","eslint":"^3.14.1","eslint-config-airbnb":"^14.0.0","eslint-plugin-flowtype":"^2.30.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^3.0.2","eslint-plugin-react":"^6.9.0","flow-bin":"^0.38.0","jest":"^18.1.0","prettier-eslint-cli":"^1.1.0"},"gitHead":"0336a28a78709cf92b473c99a55e850544f6339f","bugs":{"url":"https://github.com/rofrischmann/css-in-js-utils/issues"},"homepage":"https://github.com/rofrischmann/css-in-js-utils#readme","_id":"css-in-js-utils@2.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"rofrischmann","email":"robin@rofrischmann.de"},"dist":{"shasum":"5af1dd70f4b06b331f48d22a3d86e0786c0b9435","size":10313,"noattachment":false,"key":"/css-in-js-utils/-/css-in-js-utils-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-in-js-utils/download/css-in-js-utils-2.0.0.tgz"},"maintainers":[{"name":"rofrischmann","email":"robin@rofrischmann.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/css-in-js-utils-2.0.0.tgz_1504106552397_0.2612609143834561"},"directories":{},"publish_time":1504106553395,"_cnpm_publish_time":1504106553395,"_hasShrinkwrap":false},"1.0.3":{"name":"css-in-js-utils","version":"1.0.3","description":"Useful utility functions for CSS in JS solutions","main":"lib/index.js","files":["LICENSE","README.md","lib/"],"keywords":["css","cssinjs","utils"],"repository":{"type":"git","url":"git+https://github.com/rofrischmann/css-in-js-utils.git"},"author":{"name":"Robin Frischmann","email":"robin@rofrischmann.de"},"license":"MIT","scripts":{"babel":"babel -d lib modules","check":"npm run format && npm run lint && npm run test:coverage && npm run flow","format":"prettier-eslint modules","flow":"flow","lint":"eslint modules","release":"npm run check && npm run babel && npm publish","test":"jest","test:coverage":"jest --coverage"},"jest":{"rootDir":"modules"},"dependencies":{"hyphenate-style-name":"^1.0.2"},"devDependencies":{"babel-core":"^6.22.1","babel-eslint":"^7.1.1","babel-jest":"^18.0.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.22.0","babel-preset-react":"^6.22.0","babel-preset-stage-0":"^6.22.0","codeclimate-test-reporter":"^0.4.0","eslint":"^3.14.1","eslint-config-airbnb":"^14.0.0","eslint-plugin-flowtype":"^2.30.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^3.0.2","eslint-plugin-react":"^6.9.0","flow-bin":"^0.38.0","jest":"^18.1.0","prettier-eslint-cli":"^1.1.0"},"gitHead":"de52666d324d7ec199120934f48511a40b24303e","bugs":{"url":"https://github.com/rofrischmann/css-in-js-utils/issues"},"homepage":"https://github.com/rofrischmann/css-in-js-utils#readme","_id":"css-in-js-utils@1.0.3","_shasum":"9ac7e02f763cf85d94017666565ed68a5b5f3215","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"rofrischmann","email":"robin@rofrischmann.de"},"dist":{"shasum":"9ac7e02f763cf85d94017666565ed68a5b5f3215","size":7182,"noattachment":false,"key":"/css-in-js-utils/-/css-in-js-utils-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-in-js-utils/download/css-in-js-utils-1.0.3.tgz"},"maintainers":[{"name":"rofrischmann","email":"robin@rofrischmann.de"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/css-in-js-utils-1.0.3.tgz_1488827104975_0.9046360570937395"},"directories":{},"publish_time":1488827106948,"_cnpm_publish_time":1488827106948,"_hasShrinkwrap":false},"1.0.2":{"name":"css-in-js-utils","version":"1.0.2","description":"Useful utility functions for CSS in JS solutions","main":"lib/index.js","files":["LICENSE","README.md","lib/"],"keywords":["css","cssinjs","utils"],"repository":{"type":"git","url":"git+https://github.com/rofrischmann/css-in-js-utils.git"},"author":{"name":"Robin Frischmann","email":"robin@rofrischmann.de"},"license":"MIT","scripts":{"babel":"babel -d lib modules","check":"npm run format && npm run lint && npm run test:coverage && npm run flow","format":"prettier-eslint modules","flow":"flow","lint":"eslint modules","release":"npm run check && npm run babel && npm publish","test":"jest","test:coverage":"jest --coverage"},"jest":{"rootDir":"modules"},"dependencies":{"hyphenate-style-name":"^1.0.2","unitless-css-property":"^1.0.2"},"devDependencies":{"babel-core":"^6.22.1","babel-eslint":"^7.1.1","babel-jest":"^18.0.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.22.0","babel-preset-react":"^6.22.0","babel-preset-stage-0":"^6.22.0","codeclimate-test-reporter":"^0.4.0","eslint":"^3.14.1","eslint-config-airbnb":"^14.0.0","eslint-plugin-flowtype":"^2.30.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^3.0.2","eslint-plugin-react":"^6.9.0","flow-bin":"^0.38.0","jest":"^18.1.0","prettier-eslint-cli":"^1.1.0"},"gitHead":"d71f0f7c028748da9681ea85417a010728661f1d","bugs":{"url":"https://github.com/rofrischmann/css-in-js-utils/issues"},"homepage":"https://github.com/rofrischmann/css-in-js-utils#readme","_id":"css-in-js-utils@1.0.2","_shasum":"f7e46b172fd994f2cd6745858c9eda9065f9bc6b","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"rofrischmann","email":"robin@rofrischmann.de"},"dist":{"shasum":"f7e46b172fd994f2cd6745858c9eda9065f9bc6b","size":6422,"noattachment":false,"key":"/css-in-js-utils/-/css-in-js-utils-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-in-js-utils/download/css-in-js-utils-1.0.2.tgz"},"maintainers":[{"name":"rofrischmann","email":"robin@rofrischmann.de"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/css-in-js-utils-1.0.2.tgz_1487335188739_0.31722039403393865"},"directories":{},"publish_time":1487335189366,"_cnpm_publish_time":1487335189366,"_hasShrinkwrap":false},"1.0.1":{"name":"css-in-js-utils","version":"1.0.1","description":"Useful utility functions for CSS in JS solutions","main":"lib/index.js","files":["LICENSE","README.md","lib/"],"keywords":["css","cssinjs","utils"],"repository":{"type":"git","url":"git+https://github.com/rofrischmann/css-in-js-utils.git"},"author":{"name":"Robin Frischmann","email":"robin@rofrischmann.de"},"license":"MIT","scripts":{"babel":"babel -d lib modules","check":"npm run format && npm run lint && npm run test:coverage && npm run flow","format":"prettier-eslint modules","flow":"flow","lint":"eslint modules","release":"npm run check && npm run babel && npm publish","test":"jest","test:coverage":"jest --coverage"},"jest":{"rootDir":"modules"},"dependencies":{"hyphenate-style-name":"^1.0.2","unitless-css-property":"^1.0.2"},"devDependencies":{"babel-core":"^6.22.1","babel-eslint":"^7.1.1","babel-jest":"^18.0.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.22.0","babel-preset-react":"^6.22.0","babel-preset-stage-0":"^6.22.0","codeclimate-test-reporter":"^0.4.0","eslint":"^3.14.1","eslint-config-airbnb":"^14.0.0","eslint-plugin-flowtype":"^2.30.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^3.0.2","eslint-plugin-react":"^6.9.0","flow-bin":"^0.38.0","jest":"^18.1.0","prettier-eslint-cli":"^1.1.0"},"gitHead":"d71f0f7c028748da9681ea85417a010728661f1d","bugs":{"url":"https://github.com/rofrischmann/css-in-js-utils/issues"},"homepage":"https://github.com/rofrischmann/css-in-js-utils#readme","_id":"css-in-js-utils@1.0.1","_shasum":"d8025b13978fcb5a47ddb3d045a422aa458b19c9","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"rofrischmann","email":"robin@rofrischmann.de"},"dist":{"shasum":"d8025b13978fcb5a47ddb3d045a422aa458b19c9","size":5304,"noattachment":false,"key":"/css-in-js-utils/-/css-in-js-utils-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-in-js-utils/download/css-in-js-utils-1.0.1.tgz"},"maintainers":[{"name":"rofrischmann","email":"robin@rofrischmann.de"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/css-in-js-utils-1.0.1.tgz_1487319821868_0.9587569802533835"},"directories":{},"publish_time":1487319823802,"_cnpm_publish_time":1487319823802,"_hasShrinkwrap":false},"1.0.0":{"name":"css-in-js-utils","version":"1.0.0","description":"Useful utility functions for CSS in JS solutions","main":"lib/index.js","files":["LICENSE","README.md","lib/"],"keywords":["css","cssinjs","utils"],"repository":{"type":"git","url":"git+https://github.com/rofrischmann/css-in-js-utils.git"},"author":{"name":"Robin Frischmann","email":"robin@rofrischmann.de"},"license":"MIT","scripts":{"babel":"babel -d lib modules","check":"npm run format && npm run lint && npm run test:coverage && npm run flow","format":"prettier-eslint modules","flow":"flow","lint":"eslint modules","release":"npm run check && npm run babel && npm publish","test":"jest","test:coverage":"jest --coverage"},"jest":{"rootDir":"modules"},"dependencies":{"hyphenate-style-name":"^1.0.2","unitless-css-property":"^1.0.2"},"devDependencies":{"babel-core":"^6.22.1","babel-eslint":"^7.1.1","babel-jest":"^18.0.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.22.0","babel-preset-react":"^6.22.0","babel-preset-stage-0":"^6.22.0","codeclimate-test-reporter":"^0.4.0","eslint":"^3.14.1","eslint-config-airbnb":"^14.0.0","eslint-plugin-flowtype":"^2.30.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^3.0.2","eslint-plugin-react":"^6.9.0","flow-bin":"^0.38.0","jest":"^18.1.0","prettier-eslint-cli":"^1.1.0"},"gitHead":"c9bd4228baed94182f004020277317ff88177c17","bugs":{"url":"https://github.com/rofrischmann/css-in-js-utils/issues"},"homepage":"https://github.com/rofrischmann/css-in-js-utils#readme","_id":"css-in-js-utils@1.0.0","_shasum":"16689ee15cee7c87170ade11a5928a017785e071","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"rofrischmann","email":"robin@rofrischmann.de"},"dist":{"shasum":"16689ee15cee7c87170ade11a5928a017785e071","size":4261,"noattachment":false,"key":"/css-in-js-utils/-/css-in-js-utils-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-in-js-utils/download/css-in-js-utils-1.0.0.tgz"},"maintainers":[{"name":"rofrischmann","email":"robin@rofrischmann.de"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/css-in-js-utils-1.0.0.tgz_1487025324667_0.07319088885560632"},"directories":{},"publish_time":1487025325280,"_cnpm_publish_time":1487025325280,"_hasShrinkwrap":false}},"readme":"# CSS-in-JS Utilities\nA library that provides useful utilities functions for CSS-in-JS solutions.<br>\nThey are intended to be used by CSS-in-JS library authors rather used directly.\n<br>\n\n<img alt=\"TravisCI\" src=\"https://travis-ci.org/rofrischmann/css-in-js-utils.svg?branch=master\"> <img alt=\"Test Coverage\"  src=\"https://api.codeclimate.com/v1/badges/2964ee833f8d2104cac6/test_coverage\" /> <img alt=\"npm downloads\" src=\"https://img.shields.io/npm/dm/css-in-js-utils.svg\"> <img alt=\"npm version\" src=\"https://badge.fury.io/js/css-in-js-utils.svg\"> <img alt=\"gzipped size\" src=\"https://img.shields.io/bundlephobia/minzip/css-in-js-utils.svg?colorB=4c1&label=gzipped%20size\">\n\n## Installation\n```sh\nyarn add css-in-js-utils\n```\n\n## Why?\nBy now I have authored and collaborated on many different libraries and found I would rewrite the very same utility functions every time. That's why this repository is hosting small utilities especially built for CSS-in-JS solutions and tools. Even if there are tons of different libraries already, they all basically use the same mechanisms and utilities.\n\n## Utilities\n* [`assignStyle(base, ...extend)`](#assignstylebase-extend)\n* [`camelCaseProperty(property)`](#camelcasepropertyproperty)\n* [`cssifyDeclaration(property, value)`](#cssifydeclarationproperty-value)\n* [`cssifyObject(object)`](#cssifyobjectobject)\n* [`hyphenateProperty(property)`](#hyphenatepropertyproperty)\n* [`isPrefixedProperty(property)`](#isprefixedpropertyproperty)\n* [`isPrefixedValue(value)`](#isprefixedvaluevalue)\n* [`isUnitlessProperty(property)`](#isunitlesspropertyproperty)\n* [`normalizeProperty(property)`](#normalizepropertyproperty)\n* [`resolveArrayValue(property, value)`](#resolvearrayvalueproperty-value)\n* [`unprefixProperty(property)`](#unprefixpropertyproperty)\n* [`unprefixValue(value)`](#unprefixvaluevalue)\n\n------\n\n### `assignStyle(base, ...extend)`\nMerges deep style objects similar to `Object.assign`.<br>\nIt also merges array values into a single array whithout creating duplicates. The last occurence of every item wins.\n\n```javascript\nimport { assignStyle } from 'css-in-js-utils'\n\nassignStyle(\n  { color: 'red', backgroundColor: 'black' },\n  { color: 'blue' }\n)\n// => { color: 'blue', backgroundColor: 'black' }\n\nassignStyle(\n  {\n    color: 'red',\n    ':hover': {\n      backgroundColor: 'black'\n    }\n  },\n  { \n    ':hover': {\n      backgroundColor: 'blue'\n    }\n  }\n)\n// => { color: 'red', ':hover': { backgroundColor: 'blue' }}\n```\n\n------\n\n### `camelCaseProperty(property)`\nConverts the `property` to camelCase.\n\n```javascript\nimport { camelCaseProperty } from 'css-in-js-utils'\n\ncamelCaseProperty('padding-top')\n// => 'paddingTop'\n\ncamelCaseProperty('-webkit-transition')\n// => 'WebkitTransition'\n```\n\n------\n\n### `cssifyDeclaration(property, value)`\nGenerates a CSS declaration (`property`:`value`) string.\n\n```javascript\nimport { cssifyDeclaration } from 'css-in-js-utils'\n\ncssifyDeclaration('paddingTop', '400px')\n// => 'padding-top:400px'\n\ncssifyDeclaration('WebkitFlex', 3)\n// => '-webkit-flex:3'\n```\n\n------\n\n### `cssifyObject(object)`\nGenerates a CSS string using all key-property pairs in `object`.\nIt automatically removes declarations with value types other than `number` and `string`.\n\n```javascript\nimport { cssifyObject } from 'css-in-js-utils'\n\ncssifyObject({\n  paddingTop: '400px',\n  paddingBottom: undefined,\n  WebkitFlex: 3,\n  _anyKey: [1, 2, 4]\n})\n// => 'padding-top:400px;-webkit-flex:3'\n```\n\n------\n\n### `hyphenateProperty(property)`\nConverts the `property` to hyphen-case.\n> Directly mirrors [hyphenate-style-name](https://github.com/rexxars/hyphenate-style-name).\n\n```javascript\nimport { hyphenateProperty } from 'css-in-js-utils'\n\nhyphenateProperty('paddingTop')\n// => 'padding-top'\n\nhyphenateProperty('WebkitTransition')\n// => '-webkit-transition'\n```\n\n------\n\n### `isPrefixedProperty(property)`\nChecks if a `property` includes a vendor prefix.\n\n```javascript\nimport { isPrefixedProperty } from 'css-in-js-utils'\n\nisPrefixedProperty('paddingTop')\n// => false\n\nisPrefixedProperty('WebkitTransition')\n// => true\n```\n\n------\n### `isPrefixedValue(value)`\nChecks if a `value` includes vendor prefixes.\n\n```javascript\nimport { isPrefixedValue } from 'css-in-js-utils'\n\nisPrefixedValue('200px')\nisPrefixedValue(200)\n// => false\n\nisPrefixedValue('-webkit-calc(100% - 50px)')\n// => true\n```\n\n------\n\n### `isUnitlessProperty(property)`\nChecks if a `property` accepts unitless values.\n\n```javascript\nimport { isUnitlessProperty } from 'css-in-js-utils'\n\nisUnitlessProperty('width')\n// => false\n\nisUnitlessProperty('flexGrow')\nisUnitlessProperty('lineHeight')\nisUnitlessProperty('line-height')\n// => true\n```\n\n------\n\n### `normalizeProperty(property)`\nNormalizes the `property` by unprefixing **and** camelCasing it.\n> Uses the [`camelCaseProperty`](#camelcasepropertyproperty) and [`unprefixProperty`](#unprefixpropertyproperty)-methods.\n\n```javascript\nimport { normalizeProperty } from 'css-in-js-utils'\n\nnormalizeProperty('-webkit-transition-delay')\n// => 'transitionDelay'\n```\n\n------\n\n### `resolveArrayValue(property, value)`\nConcatenates array values to single CSS value.\n> Uses the [`hyphenateProperty`](#hyphenatepropertyproperty)-method.\n\n\n```javascript\nimport { resolveArrayValue } from 'css-in-js-utils'\n\nresolveArrayValue('display', [ '-webkit-flex', 'flex' ])\n// => '-webkit-flex;display:flex'\n\nresolveArrayValue('paddingTop', [ 'calc(100% - 50px)', '100px' ])\n// => 'calc(100% - 50px);padding-top:100px'\n```\n\n------\n\n### `unprefixProperty(property)`\nRemoves the vendor prefix (if set) from the `property`.\n\n```javascript\nimport { unprefixProperty } from 'css-in-js-utils'\n\nunprefixProperty('WebkitTransition')\n// => 'transition'\n\nunprefixProperty('transitionDelay')\n// => 'transitionDelay'\n```\n\n------\n\n### `unprefixValue(value)`\nRemoves all vendor prefixes (if any) from the `value`.\n\n```javascript\nimport { unprefixValue } from 'css-in-js-utils'\n\nunprefixValue('-webkit-calc(-moz-calc(100% - 50px)/2)')\n// => 'calc(calc(100% - 50px)/2)'\n\nunprefixValue('100px')\n// => '100px'\n```\n\n## Direct Import\nEvery utility function may be imported directly to save bundle size.\n\n```javascript\nimport camelCaseProperty from 'css-in-js-utils/lib/camelCaseProperty'\n```\n\n## License\ncss-in-js-utils is licensed under the [MIT License](http://opensource.org/licenses/MIT).<br>\nDocumentation is licensed under [Creative Common License](http://creativecommons.org/licenses/by/4.0/).<br>\nCreated with ♥ by [@rofrischmann](http://rofrischmann.de).\n","_attachments":{},"homepage":"https://github.com/robinweser/css-in-js-utils#readme","bugs":{"url":"https://github.com/robinweser/css-in-js-utils/issues"},"license":"MIT"}