{"_id":"stiletto","_rev":"3548766","name":"stiletto","description":"stylesheet inliner","dist-tags":{"latest":"0.6.0"},"maintainers":[{"name":"taniguchi","email":""}],"time":{"modified":"2024-09-19T02:38:32.000Z","created":"2022-02-06T02:58:55.737Z","0.6.0":"2022-02-06T06:00:43.156Z","0.5.2":"2022-02-06T05:18:25.925Z","0.5.1":"2022-02-06T05:17:15.144Z","0.5.0":"2022-02-06T05:16:31.106Z","0.4.0":"2022-02-06T04:57:38.803Z","0.3.1":"2022-02-06T04:43:50.528Z","0.3.0":"2022-02-06T04:42:56.672Z","0.2.0":"2022-02-06T03:58:20.853Z","0.1.2":"2022-02-06T03:05:22.135Z","0.1.1":"2022-02-06T03:02:39.126Z","0.1.0":"2022-02-06T02:58:55.737Z"},"users":{},"author":{"name":"TANIGUCHI Masaya"},"repository":{"type":"git","url":"git+ssh://git@github.com/tani/stiletto.git"},"versions":{"0.6.0":{"name":"stiletto","version":"0.6.0","description":"stylesheet inliner","browser":"dist/browser.js","main":"dist/index.js","scripts":{"build":"tsc && tsc -d"},"repository":{"type":"git","url":"git+ssh://git@github.com/tani/stiletto.git"},"keywords":["css","stylesheet","inline","inliner"],"author":{"name":"TANIGUCHI Masaya"},"license":"MIT","bugs":{"url":"https://github.com/tani/stiletto/issues"},"homepage":"https://github.com/tani/stiletto#readme","dependencies":{"css":"^3.0.0","css-select":"^4.2.1","dom-serializer":"^1.3.2","htmlparser2":"^7.2.0"},"devDependencies":{"@types/css":"0.0.33","typescript":"^4.5.5"},"gitHead":"ccde00ffbfb50bc29ffe4dfecddd4df5a733d0c9","_id":"stiletto@0.6.0","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"shasum":"65f1c6a3bbc1253d1089c05308e7fde56de364c4","size":1621,"noattachment":false,"key":"/stiletto/-/stiletto-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stiletto/download/stiletto-0.6.0.tgz"},"_npmUser":{"name":"taniguchi","email":"ta2gch@gmail.com"},"directories":{},"maintainers":[{"name":"taniguchi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stiletto_0.6.0_1644127242969_0.36696612495009595"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-06T06:00:49.604Z","publish_time":1644127243156,"_cnpm_publish_time":1644127243156},"0.5.2":{"name":"stiletto","version":"0.5.2","description":"stylesheet inliner","main":"dist/index.js","scripts":{"build":"tsc && tsc -d"},"repository":{"type":"git","url":"git+ssh://git@github.com/tani/stiletto.git"},"keywords":["css","stylesheet","inline","inliner"],"author":{"name":"TANIGUCHI Masaya"},"license":"MIT","bugs":{"url":"https://github.com/tani/stiletto/issues"},"homepage":"https://github.com/tani/stiletto#readme","dependencies":{"css":"^3.0.0","css-select":"^4.2.1","dom-serializer":"^1.3.2","htmlparser2":"^7.2.0"},"devDependencies":{"@types/css":"0.0.33","typescript":"^4.5.5"},"gitHead":"6e67f9ba483890c5c645bad9258845c07b39a2eb","_id":"stiletto@0.5.2","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"shasum":"6b99153debc24918e1f04d3346826e4199a9865b","size":1405,"noattachment":false,"key":"/stiletto/-/stiletto-0.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/stiletto/download/stiletto-0.5.2.tgz"},"_npmUser":{"name":"taniguchi","email":"ta2gch@gmail.com"},"directories":{},"maintainers":[{"name":"taniguchi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stiletto_0.5.2_1644124705787_0.5074218522322822"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-06T05:18:31.259Z","publish_time":1644124705925,"_cnpm_publish_time":1644124705925},"0.5.1":{"name":"stiletto","version":"0.5.1","description":"stylesheet inliner","main":"dist/index.js","scripts":{"build":"tsc && tsc -d"},"repository":{"type":"git","url":"git+ssh://git@github.com/tani/stylet.git"},"keywords":["css","stylesheet","inline","inliner"],"author":{"name":"TANIGUCHI Masaya"},"license":"MIT","bugs":{"url":"https://github.com/tani/stylet/issues"},"homepage":"https://github.com/tani/stylet#readme","dependencies":{"css":"^3.0.0","css-select":"^4.2.1","dom-serializer":"^1.3.2","htmlparser2":"^7.2.0"},"devDependencies":{"@types/css":"0.0.33","typescript":"^4.5.5"},"gitHead":"ef515a89066e6d18f129670c369ad0df027b8d8f","_id":"stiletto@0.5.1","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"shasum":"fed8d831b0260305e9953d1b3abd8fd82e248a83","size":1405,"noattachment":false,"key":"/stiletto/-/stiletto-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stiletto/download/stiletto-0.5.1.tgz"},"_npmUser":{"name":"taniguchi","email":"ta2gch@gmail.com"},"directories":{},"maintainers":[{"name":"taniguchi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stiletto_0.5.1_1644124635013_0.6334449006944232"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-06T05:17:20.225Z","publish_time":1644124635144,"_cnpm_publish_time":1644124635144},"0.5.0":{"name":"stiletto","version":"0.5.0","description":"stylesheet inliner","main":"dist/index.js","scripts":{"build":"tsc && tsc -d"},"repository":{"type":"git","url":"git+ssh://git@github.com/tani/stylet.git"},"keywords":["css","stylesheet","inline","inliner"],"author":{"name":"TANIGUCHI Masaya"},"license":"MIT","bugs":{"url":"https://github.com/tani/stylet/issues"},"homepage":"https://github.com/tani/stylet#readme","dependencies":{"css":"^3.0.0","css-select":"^4.2.1","dom-serializer":"^1.3.2","htmlparser2":"^7.2.0"},"devDependencies":{"@types/css":"0.0.33","typescript":"^4.5.5"},"gitHead":"23664e991066328214f33ea597e8433b62f624ff","_id":"stiletto@0.5.0","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"shasum":"d3e56d822f2e7a38958307f41ff4af41b8e9c45e","size":1343,"noattachment":false,"key":"/stiletto/-/stiletto-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stiletto/download/stiletto-0.5.0.tgz"},"_npmUser":{"name":"taniguchi","email":"ta2gch@gmail.com"},"directories":{},"maintainers":[{"name":"taniguchi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stiletto_0.5.0_1644124590964_0.21532701651147246"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-06T05:16:37.255Z","publish_time":1644124591106,"_cnpm_publish_time":1644124591106},"0.4.0":{"name":"stiletto","version":"0.4.0","description":"stylesheet inliner","main":"dist/index.js","scripts":{"test":"npm run build && node ./test.js","build":"tsc && tsc -d"},"repository":{"type":"git","url":"git+ssh://git@github.com/tani/stiletto.git"},"keywords":["css","stylesheet","inline","inliner"],"author":{"name":"TANIGUCHI Masaya"},"license":"MIT","bugs":{"url":"https://github.com/tani/stiletto/issues"},"homepage":"https://github.com/tani/stiletto#readme","dependencies":{"css":"^3.0.0","jsdom":"^19.0.0"},"devDependencies":{"@types/css":"0.0.33","@types/jsdom":"^16.2.14","tape":"^5.5.0","typescript":"^4.5.5"},"gitHead":"fdaf54fa835027a0f196f3f4501ca51973104105","_id":"stiletto@0.4.0","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"shasum":"3562c02fb3c022df5414a1497e1d5c9157ed1a87","size":1350,"noattachment":false,"key":"/stiletto/-/stiletto-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stiletto/download/stiletto-0.4.0.tgz"},"_npmUser":{"name":"taniguchi","email":"ta2gch@gmail.com"},"directories":{},"maintainers":[{"name":"taniguchi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stiletto_0.4.0_1644123458648_0.1475452780838422"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-06T04:57:44.252Z","publish_time":1644123458803,"_cnpm_publish_time":1644123458803},"0.3.1":{"name":"stiletto","version":"0.3.1","description":"stylesheet inliner","main":"dist/index.js","scripts":{"test":"npm run build && node ./test.js","build":"tsc && tsc -d"},"repository":{"type":"git","url":"git+ssh://git@github.com/tani/stiletto.git"},"keywords":["css","stylesheet","inline","inliner"],"author":{"name":"TANIGUCHI Masaya"},"license":"MIT","bugs":{"url":"https://github.com/tani/stiletto/issues"},"homepage":"https://github.com/tani/stiletto#readme","dependencies":{"css":"^3.0.0","svgdom":"^0.1.10"},"devDependencies":{"@types/css":"0.0.33","tape":"^5.5.0","typescript":"^4.5.5"},"gitHead":"20f332f9c1ea592cf9cd03c9559484c193e81bf0","_id":"stiletto@0.3.1","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"shasum":"da1143d4d172551d7778ebc301f727dfd6c88d55","size":1345,"noattachment":false,"key":"/stiletto/-/stiletto-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stiletto/download/stiletto-0.3.1.tgz"},"_npmUser":{"name":"taniguchi","email":"ta2gch@gmail.com"},"directories":{},"maintainers":[{"name":"taniguchi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stiletto_0.3.1_1644122630390_0.8442318918962974"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-06T04:43:55.703Z","publish_time":1644122630528,"_cnpm_publish_time":1644122630528},"0.3.0":{"name":"stiletto","version":"0.3.0","description":"stylesheet inliner","main":"dist/index.js","scripts":{"test":"npm run build && node ./test.js","build":"tsc && tsc -d"},"repository":{"type":"git","url":"git+ssh://git@github.com/tani/stylet.git"},"keywords":["css","stylesheet","inline","inliner"],"author":{"name":"TANIGUCHI Masaya"},"license":"MIT","bugs":{"url":"https://github.com/tani/stylet/issues"},"homepage":"https://github.com/tani/stylet#readme","dependencies":{"css":"^3.0.0","svgdom":"^0.1.10"},"devDependencies":{"@types/css":"0.0.33","tape":"^5.5.0","typescript":"^4.5.5"},"gitHead":"9b4b7a092d10448286aaeee45a7b456671c2038f","_id":"stiletto@0.3.0","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"shasum":"5e1f64fac0e7dd8afca9ec013a809826d5e8ac0b","size":1346,"noattachment":false,"key":"/stiletto/-/stiletto-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stiletto/download/stiletto-0.3.0.tgz"},"_npmUser":{"name":"taniguchi","email":"ta2gch@gmail.com"},"directories":{},"maintainers":[{"name":"taniguchi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stiletto_0.3.0_1644122576557_0.6915161891250605"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-06T04:43:02.381Z","publish_time":1644122576672,"_cnpm_publish_time":1644122576672},"0.2.0":{"name":"stiletto","version":"0.2.0","description":"stylesheet inliner","main":"dist/index.js","scripts":{"test":"npm run build && node ./test.js","build":"tsc && tsc -d"},"repository":{"type":"git","url":"git+ssh://git@github.com/tani/stylet.git"},"keywords":["css","stylesheet","inline","inliner"],"author":{"name":"TANIGUCHI Masaya"},"license":"MIT","bugs":{"url":"https://github.com/tani/stylet/issues"},"homepage":"https://github.com/tani/stylet#readme","dependencies":{"css":"^3.0.0","domino":"^2.1.6"},"devDependencies":{"@types/css":"0.0.33","@types/node":"^17.0.15","tape":"^5.5.0","typescript":"^4.5.5"},"gitHead":"b937ecc011dabc7dd969dcf7f6b79a968e30d17b","_id":"stiletto@0.2.0","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"shasum":"e3e67265f7d53a80512ebe3dd3a539a50d005d82","size":1441,"noattachment":false,"key":"/stiletto/-/stiletto-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stiletto/download/stiletto-0.2.0.tgz"},"_npmUser":{"name":"taniguchi","email":"ta2gch@gmail.com"},"directories":{},"maintainers":[{"name":"taniguchi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stiletto_0.2.0_1644119900696_0.2521783321604485"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-06T03:58:25.878Z","publish_time":1644119900853,"_cnpm_publish_time":1644119900853},"0.1.2":{"name":"stiletto","version":"0.1.2","description":"stylesheet inliner","main":"dist/index.js","scripts":{"build":"tsc && tsc -d"},"repository":{"type":"git","url":"git+ssh://git@github.com/tani/stylet.git"},"keywords":["css","stylesheet","inline","inliner"],"author":{"name":"TANIGUCHI Masaya"},"license":"MIT","bugs":{"url":"https://github.com/tani/stylet/issues"},"homepage":"https://github.com/tani/stylet#readme","dependencies":{"css":"^3.0.0","css-select":"^4.2.1","dom-serializer":"^1.3.2","htmlparser2":"^7.2.0"},"devDependencies":{"@types/css":"0.0.33","typescript":"^4.5.5"},"gitHead":"9999b5a2845631971b8e546478139c4925663136","_id":"stiletto@0.1.2","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"shasum":"0c1c410b9a5ec1d92767f2c560b951d8932a8ade","size":1405,"noattachment":false,"key":"/stiletto/-/stiletto-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/stiletto/download/stiletto-0.1.2.tgz"},"_npmUser":{"name":"taniguchi","email":"ta2gch@gmail.com"},"directories":{},"maintainers":[{"name":"taniguchi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stiletto_0.1.2_1644116721959_0.42881261041423313"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-06T03:05:26.676Z","publish_time":1644116722135,"_cnpm_publish_time":1644116722135},"0.1.1":{"name":"stiletto","version":"0.1.1","description":"stylesheet inliner","main":"index.js","scripts":{"build":"tsc && tsc -d"},"repository":{"type":"git","url":"git+ssh://git@github.com/tani/stylet.git"},"keywords":["css","stylesheet","inline","inliner"],"author":{"name":"TANIGUCHI Masaya"},"license":"MIT","bugs":{"url":"https://github.com/tani/stylet/issues"},"homepage":"https://github.com/tani/stylet#readme","dependencies":{"css":"^3.0.0","css-select":"^4.2.1","dom-serializer":"^1.3.2","htmlparser2":"^7.2.0"},"devDependencies":{"@types/css":"0.0.33","typescript":"^4.5.5"},"gitHead":"a5c225cf8903df93354d7ba25e0456bf02590085","_id":"stiletto@0.1.1","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"shasum":"b8e88120f6097e831f1328a29a496ae51b43154e","size":1405,"noattachment":false,"key":"/stiletto/-/stiletto-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stiletto/download/stiletto-0.1.1.tgz"},"_npmUser":{"name":"taniguchi","email":"ta2gch@gmail.com"},"directories":{},"maintainers":[{"name":"taniguchi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stiletto_0.1.1_1644116558936_0.7393868047269698"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-06T03:02:44.538Z","publish_time":1644116559126,"_cnpm_publish_time":1644116559126},"0.1.0":{"name":"stiletto","version":"0.1.0","description":"stylesheet inliner","main":"index.js","scripts":{"build":"tsc && tsc -d"},"repository":{"type":"git","url":"git+ssh://git@github.com/tani/stylet.git"},"keywords":["css","stylesheet","inline","inliner"],"author":{"name":"TANIGUCHI Masaya"},"license":"MIT","bugs":{"url":"https://github.com/tani/stylet/issues"},"homepage":"https://github.com/tani/stylet#readme","dependencies":{"css":"^3.0.0","css-select":"^4.2.1","dom-serializer":"^1.3.2","htmlparser2":"^7.2.0"},"devDependencies":{"@types/css":"0.0.33","typescript":"^4.5.5"},"gitHead":"ae509f0504bab66dcc89471d428833ca468f0875","_id":"stiletto@0.1.0","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"shasum":"fcac4e7aa2cf559eecd8f01481cedbc79a35b0b7","size":1370,"noattachment":false,"key":"/stiletto/-/stiletto-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stiletto/download/stiletto-0.1.0.tgz"},"_npmUser":{"name":"taniguchi","email":"ta2gch@gmail.com"},"directories":{},"maintainers":[{"name":"taniguchi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stiletto_0.1.0_1644116335556_0.775906090023714"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-06T02:59:02.927Z","publish_time":1644116335737,"_cnpm_publish_time":1644116335737}},"readme":"# Stiletto\n\nGiven HTML, stiletto will inline your CSS properties into the style attribute.\n\n## Installation\n\n```\n$ npm i stiletto\n\n```\n\n## Usage\n\n```javascript\nimport * as stiletto from \"stiletto\"\nconst html = \"<p> ... </p>\"\nconst css = \"p { color: red }\"\nconsole.log(stiletto.inline(html, css))\n// <p style=\"color:red;\">...</p>\n```\n\n## Copyright and License\n\nCopyright (c) 2022 TANIGUCHI Masaya. All rights reserved.\nThis package is released under MIT License. https://git.io/mit-license\n","_attachments":{},"homepage":"https://github.com/tani/stiletto#readme","bugs":{"url":"https://github.com/tani/stiletto/issues"},"license":"MIT"}