{"_id":"jss-template","_rev":"4-2b868aa3844838397158c80f8892abdf","name":"jss-template","description":"JSS plugin enables string templates","dist-tags":{"latest":"1.0.1"},"versions":{"0.1.0":{"name":"jss-template","description":"JSS plugin enables string templates","version":"0.1.0","author":{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/cssinjs/jss-template.git"},"keywords":["cssinjs","css-in-js","css in js","jss","plugin","template"],"scripts":{"all":"npm run lint && npm run test && npm run build","bench":"cross-env BENCHMARK=true npm run test","build":"npm run clean && npm run build:lib && npm run build:tests && npm run build:dist","build:lib":"babel src --out-dir lib","build:tests":"npm run build:tests:lib && npm run build:tests:local","build:tests:lib":"cross-env NODE_ENV=test babel src --out-dir tests","build:tests:local":"cross-env NODE_ENV=test webpack src/index.test.js tmp/tests.js","build:dist":"npm run build:dist:max && npm run build:dist:min","build:dist:max":"cross-env NODE_ENV=development webpack src/index.js dist/jss-template.js","build:dist:min":"cross-env NODE_ENV=production webpack src/index.js dist/jss-template.min.js","clean":"rimraf '{lib,dist,tests,tmp}/*'","lint":"eslint ./src ./benchmark","lint:staged":"lint-staged","test":"cross-env NODE_ENV=test karma start --single-run ","test:watch":"cross-env NODE_ENV=test karma start","prepublishOnly":"npm run all"},"license":"MIT","main":"./lib/index.js","devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.1","babel-eslint":"^6.1.2","babel-loader":"^6.2.4","babel-plugin-rewire":"^1.0.0","babel-plugin-transform-es3-member-expression-literals":"^6.22.0","babel-plugin-transform-es3-property-literals":"^6.22.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","common-tags":"^1.4.0","cross-env":"^3.1.3","eslint":"^2.8.0","eslint-config-airbnb":"^8.0.0","eslint-config-jss":"^1.1.0","eslint-plugin-import":"^1.12.0","eslint-plugin-jsx-a11y":"^1.5.5","eslint-plugin-react":"^5.0.1","expect.js":"^0.3.1","json-loader":"^0.5.4","jss":"^8.0.0","karma":"^1.1.1","karma-benchmark":"^0.6.0","karma-benchmark-reporter":"^0.1.1","karma-browserstack-launcher":"^1.0.0","karma-chrome-launcher":"^1.0.1","karma-coverage":"^1.1.0","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.2","karma-sourcemap-loader":"^0.3.5","karma-webpack":"^1.7.0","lint-staged":"^3.0.1","mocha":"^3.0.2","pre-commit":"^1.1.3","rimraf":"^2.5.4","webpack":"^1.12.2"},"peerDependencies":{"jss":"^8.0.0"},"lint-staged":{"./src/*.js":["eslint","git add"]},"pre-commit":"lint:staged","dependencies":{"warning":"^3.0.0"},"gitHead":"c8b14e07fda12c3002228455a4c26f2f265cf264","bugs":{"url":"https://github.com/cssinjs/jss-template/issues"},"homepage":"https://github.com/cssinjs/jss-template#readme","_id":"jss-template@0.1.0","_npmVersion":"5.3.0","_nodeVersion":"7.10.1","_npmUser":{"name":"kof","email":"oleg008@gmail.com"},"dist":{"integrity":"sha512-FOdVK5R3HEOIX3u3pwPm2ekqJn++l034IF2Wb/V9sB1oPGlIYKx1HiC19/3Pmjqq6j2o4c8NK4GsNoR65LS5zw==","shasum":"a0fbecc0f0b3837b5f232607cc34b3f98e6e29e0","tarball":"https://registry.npmjs.org/jss-template/-/jss-template-0.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFrMPLfphKhAUkhB8ZreGGaoxNiLDNcFyX+uh8c3arLgIgc/j8YvrKzdU8P57CafS/PYGKOnyEzN6gjB1J0EVZYFs="}]},"maintainers":[{"name":"kof","email":"oleg008@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jss-template-0.1.0.tgz_1502223139811_0.6334559579845518"}},"0.1.1":{"name":"jss-template","description":"JSS plugin enables string templates","version":"0.1.1","author":{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/cssinjs/jss-template.git"},"keywords":["cssinjs","css-in-js","css in js","jss","plugin","template"],"scripts":{"all":"npm run lint && npm run test && npm run build","bench":"cross-env BENCHMARK=true npm run test","build":"npm run clean && npm run build:lib && npm run build:tests && npm run build:dist","build:lib":"babel src --out-dir lib","build:tests":"npm run build:tests:lib && npm run build:tests:local","build:tests:lib":"cross-env NODE_ENV=test babel src --out-dir tests","build:tests:local":"cross-env NODE_ENV=test webpack src/index.test.js tmp/tests.js","build:dist":"npm run build:dist:max && npm run build:dist:min","build:dist:max":"cross-env NODE_ENV=development webpack src/index.js dist/jss-template.js","build:dist:min":"cross-env NODE_ENV=production webpack src/index.js dist/jss-template.min.js","clean":"rimraf '{lib,dist,tests,tmp}/*'","lint":"eslint ./src ./benchmark","lint:staged":"lint-staged","test":"cross-env NODE_ENV=test karma start --single-run ","test:watch":"cross-env NODE_ENV=test karma start","prepublishOnly":"npm run all"},"license":"MIT","main":"./lib/index.js","devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.1","babel-eslint":"^6.1.2","babel-loader":"^6.2.4","babel-plugin-rewire":"^1.0.0","babel-plugin-transform-es3-member-expression-literals":"^6.22.0","babel-plugin-transform-es3-property-literals":"^6.22.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","common-tags":"^1.4.0","cross-env":"^3.1.3","eslint":"^2.8.0","eslint-config-airbnb":"^8.0.0","eslint-config-jss":"^1.1.0","eslint-plugin-import":"^1.12.0","eslint-plugin-jsx-a11y":"^1.5.5","eslint-plugin-react":"^5.0.1","expect.js":"^0.3.1","json-loader":"^0.5.4","jss":"^8.0.0","karma":"^1.1.1","karma-benchmark":"^0.6.0","karma-benchmark-reporter":"^0.1.1","karma-browserstack-launcher":"^1.0.0","karma-chrome-launcher":"^1.0.1","karma-coverage":"^1.1.0","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.2","karma-sourcemap-loader":"^0.3.5","karma-webpack":"^1.7.0","lint-staged":"^3.0.1","mocha":"^3.0.2","pre-commit":"^1.1.3","rimraf":"^2.5.4","webpack":"^1.12.2"},"peerDependencies":{"jss":"^8.0.0"},"lint-staged":{"./src/*.js":["eslint","git add"]},"pre-commit":"lint:staged","dependencies":{"warning":"^3.0.0"},"gitHead":"69c12b0f8ddeaa5478a49f411fca525e97df62a9","bugs":{"url":"https://github.com/cssinjs/jss-template/issues"},"homepage":"https://github.com/cssinjs/jss-template#readme","_id":"jss-template@0.1.1","_npmVersion":"5.3.0","_nodeVersion":"7.10.1","_npmUser":{"name":"kof","email":"oleg008@gmail.com"},"dist":{"integrity":"sha512-jpxDNu0wzbmxHfpRFLzoO0j6QLdMvyc86Tz84sw84I5C4RNH7YXy7YiDrCRAzhcLOWFfyb05LBAzHjigB8l0gw==","shasum":"0e60b11a108197d0ae1cc8bd4ce1726acf485d45","tarball":"https://registry.npmjs.org/jss-template/-/jss-template-0.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBIPoA9kuU5SNlUq9Qj8z3bRxypyjLBF8pOIHx4OrP6tAiEAhEy+dwsjEmJTrn+AfZvCLb6MU3pTTbXjrWjGkdJiYVw="}]},"maintainers":[{"name":"kof","email":"oleg008@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jss-template-0.1.1.tgz_1502231645501_0.48917093873023987"}},"1.0.0":{"name":"jss-template","description":"JSS plugin enables string templates","version":"1.0.0","author":{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/cssinjs/jss-template.git"},"keywords":["cssinjs","css-in-js","css in js","jss","plugin","template"],"scripts":{"all":"npm run lint && npm run test && npm run build","bench":"cross-env BENCHMARK=true npm run test","build":"npm run clean && npm run build:lib && npm run build:tests && npm run build:dist","build:lib":"babel src --out-dir lib","build:tests":"npm run build:tests:lib && npm run build:tests:local","build:tests:lib":"cross-env NODE_ENV=test babel src --out-dir tests","build:tests:local":"cross-env NODE_ENV=test webpack src/index.test.js tmp/tests.js","build:dist":"npm run build:dist:max && npm run build:dist:min","build:dist:max":"cross-env NODE_ENV=development webpack src/index.js dist/jss-template.js","build:dist:min":"cross-env NODE_ENV=production webpack src/index.js dist/jss-template.min.js","clean":"rimraf '{lib,dist,tests,tmp}/*'","lint":"eslint ./src ./benchmark","lint:staged":"lint-staged","test":"cross-env NODE_ENV=test karma start --single-run ","test:watch":"cross-env NODE_ENV=test karma start","prepublishOnly":"npm run all"},"license":"MIT","main":"./lib/index.js","devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.1","babel-eslint":"^6.1.2","babel-loader":"^6.2.4","babel-plugin-rewire":"^1.0.0","babel-plugin-transform-es3-member-expression-literals":"^6.22.0","babel-plugin-transform-es3-property-literals":"^6.22.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","common-tags":"^1.4.0","cross-env":"^3.1.3","eslint":"^2.8.0","eslint-config-airbnb":"^8.0.0","eslint-config-jss":"^1.1.0","eslint-plugin-import":"^1.12.0","eslint-plugin-jsx-a11y":"^1.5.5","eslint-plugin-react":"^5.0.1","expect.js":"^0.3.1","json-loader":"^0.5.4","jss":"^9.0.0","karma":"^1.1.1","karma-benchmark":"^0.6.0","karma-benchmark-reporter":"^0.1.1","karma-browserstack-launcher":"^1.0.0","karma-chrome-launcher":"^1.0.1","karma-coverage":"^1.1.0","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.2","karma-sourcemap-loader":"^0.3.5","karma-webpack":"^1.7.0","lint-staged":"^3.0.1","mocha":"^3.0.2","pre-commit":"^1.1.3","rimraf":"^2.5.4","webpack":"^1.12.2"},"peerDependencies":{"jss":"^9.0.0"},"lint-staged":{"./src/*.js":["eslint","git add"]},"pre-commit":"lint:staged","dependencies":{"warning":"^3.0.0"},"gitHead":"7e42501edbc53e33a811d22eb0a366db9f5359c5","bugs":{"url":"https://github.com/cssinjs/jss-template/issues"},"homepage":"https://github.com/cssinjs/jss-template#readme","_id":"jss-template@1.0.0","_npmVersion":"5.4.2","_nodeVersion":"7.10.1","_npmUser":{"name":"kof","email":"oleg008@gmail.com"},"dist":{"integrity":"sha512-NFAgcAp8V2fUxffWGGQ5zAolJq3neAvNjmWIwSmy9M6bmXTK9rnTu0fBlAcUh0ALC94B596/2TRphdkE5WRECQ==","shasum":"4b874608706ddceecacdb5567e254aecb6ea69b3","tarball":"https://registry.npmjs.org/jss-template/-/jss-template-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGLTzqkJEGa7+7e8t78yukWkODVAf20XIvatW+FUqmwQIgGnxNQRCXuCZstJFUGEaJAZ2M+xSFAtmmthOibFEtlm0="}]},"maintainers":[{"name":"kof","email":"oleg008@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jss-template-1.0.0.tgz_1506798813072_0.35233491542749107"}},"1.0.1":{"name":"jss-template","description":"JSS plugin enables string templates","version":"1.0.1","author":{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/cssinjs/jss-template.git"},"keywords":["cssinjs","css-in-js","css in js","jss","plugin","template"],"scripts":{"all":"npm run lint && npm run test && npm run build","bench":"cross-env BENCHMARK=true npm run test","build":"npm run clean && npm run build:lib && npm run build:tests && npm run build:dist","build:lib":"babel src --out-dir lib","build:tests":"npm run build:tests:lib && npm run build:tests:local","build:tests:lib":"cross-env NODE_ENV=test babel src --out-dir tests","build:tests:local":"cross-env NODE_ENV=test webpack src/index.test.js tmp/tests.js","build:dist":"npm run build:dist:max && npm run build:dist:min","build:dist:max":"cross-env NODE_ENV=development webpack src/index.js dist/jss-template.js","build:dist:min":"cross-env NODE_ENV=production webpack src/index.js dist/jss-template.min.js","clean":"rimraf '{lib,dist,tests,tmp}/*'","lint":"eslint ./src ./benchmark","lint:staged":"lint-staged","test":"cross-env NODE_ENV=test karma start --single-run ","test:watch":"cross-env NODE_ENV=test karma start","prepublishOnly":"npm run all"},"license":"MIT","main":"./lib/index.js","devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.1","babel-eslint":"^6.1.2","babel-loader":"^6.2.4","babel-plugin-rewire":"^1.0.0","babel-plugin-transform-es3-member-expression-literals":"^6.22.0","babel-plugin-transform-es3-property-literals":"^6.22.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","common-tags":"^1.4.0","cross-env":"^3.1.3","eslint":"^2.8.0","eslint-config-airbnb":"^8.0.0","eslint-config-jss":"^1.1.0","eslint-plugin-import":"^1.12.0","eslint-plugin-jsx-a11y":"^1.5.5","eslint-plugin-react":"^5.0.1","expect.js":"^0.3.1","json-loader":"^0.5.4","jss":"^9.0.0","karma":"^1.1.1","karma-benchmark":"^0.6.0","karma-benchmark-reporter":"^0.1.1","karma-browserstack-launcher":"^1.0.0","karma-chrome-launcher":"^1.0.1","karma-coverage":"^1.1.0","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.2","karma-sourcemap-loader":"^0.3.5","karma-webpack":"^1.7.0","lint-staged":"^3.0.1","mocha":"^3.0.2","pre-commit":"^1.1.3","rimraf":"^2.5.4","webpack":"^1.12.2"},"peerDependencies":{"jss":"^9.0.0"},"lint-staged":{"./src/*.js":["eslint --fix","git add"]},"pre-commit":"lint:staged","dependencies":{"warning":"^3.0.0"},"gitHead":"3c2875f93bb34b7e3e5f1ad53ff62a962e14c513","bugs":{"url":"https://github.com/cssinjs/jss-template/issues"},"homepage":"https://github.com/cssinjs/jss-template#readme","_id":"jss-template@1.0.1","_npmVersion":"5.4.2","_nodeVersion":"7.10.1","_npmUser":{"name":"kof","email":"oleg008@gmail.com"},"dist":{"integrity":"sha512-m5BqEWha17fmIVXm1z8xbJhY6GFJxNB9H68GVnCWPyGYfxiAgY9WTQyvDAVj+pYRgrXSOfN5V1T4+SzN1sJTeg==","shasum":"09aed9d86cc547b07f53ef355d7e1777f7da430a","tarball":"https://registry.npmjs.org/jss-template/-/jss-template-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICuPbt0rn1ofi/Z5OQSLOYNMCjKlF6M0AG1Kg/v0QOzhAiB34WvWiRNOoU+lxOTyyQ8aCT74OVvqpSQ2pCbBo4njOg=="}]},"maintainers":[{"name":"kof","email":"oleg008@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jss-template-1.0.1.tgz_1516206595618_0.8605471926275641"}}},"readme":"# JSS plugin enables string templates\n\n[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby)\n\nMake sure you read [how to use\nplugins](https://github.com/cssinjs/jss/blob/master/docs/setup.md#setup-with-plugins)\nin general.\n\nThis plugin allows you to use string templates to declare CSS rules. It implements a __very naive__ but __very fast (~42000 ops/sec)__ runtime CSS parser, with certain limitations:\n\n- Supports only rule body (no selectors)\n- Requires semicolon and new line after the value (except of last line)\n- No nested rules support\n\n```js\nconst styles = {\n  button: `\n    border-radius: 3px;\n    background-color: green;\n    color: red;\n    margin: 20px 40px;\n    padding: 10px;\n  `,\n  '@media print': {\n    button: `color: black`\n  },\n  '@keyframes id': {\n    from: `opacity: 0`,\n    to: `opacity: 1`\n  }\n}\n```\n\n## Issues\n\nFile a bug against [cssinjs/jss prefixed with \\[jss-template\\]](https://github.com/cssinjs/jss/issues/new?title=[jss-template]%20).\n\n## Run tests\n\n```bash\nnpm i\nnpm run test\n```\n\n## License\n\nMIT\n","maintainers":[{"name":"kof","email":"oleg008@gmail.com"}],"time":{"modified":"2022-05-06T23:43:09.268Z","created":"2017-08-08T20:12:20.676Z","0.1.0":"2017-08-08T20:12:20.676Z","0.1.1":"2017-08-08T22:34:07.327Z","1.0.0":"2017-09-30T19:13:33.983Z","1.0.1":"2018-01-17T16:29:56.594Z"},"homepage":"https://github.com/cssinjs/jss-template#readme","keywords":["cssinjs","css-in-js","css in js","jss","plugin","template"],"repository":{"type":"git","url":"git+ssh://git@github.com/cssinjs/jss-template.git"},"author":{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"},"bugs":{"url":"https://github.com/cssinjs/jss-template/issues"},"license":"MIT","readmeFilename":"readme.md"}