{"_id":"rollup-plugin-string","maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"keywords":["rollup-plugin","stringify","string","template"],"dist-tags":{"latest":"3.0.0"},"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"description":"Converts text files to modules","readme":"# rollup-plugin-string [![Build Status](https://travis-ci.org/TrySound/rollup-plugin-string.svg)](https://travis-ci.org/TrySound/rollup-plugin-string)\n\nConverts text files to modules:\n\n```js\nimport tpl from \"./tpl.html\";\nconsole.log(`Template for render: ${tpl}`);\n```\n\n## Installation\n\n```sh\nnpm i rollup-plugin-string -D\n```\n\n## Usage\n\n```js\nimport { rollup } from \"rollup\";\nimport { string } from \"rollup-plugin-string\";\n\nrollup({\n  entry: \"main.js\",\n  plugins: [\n    string({\n      // Required to be specified\n      include: \"**/*.html\",\n\n      // Undefined by default\n      exclude: [\"**/index.html\"]\n    })\n  ]\n});\n```\n\n# License\n\nMIT © [Bogdan Chadkin](mailto:trysound@yandex.ru)\n","repository":{"type":"git","url":"git+https://github.com/TrySound/rollup-plugin-string.git"},"users":{"citguy":true},"bugs":{"url":"https://github.com/TrySound/rollup-plugin-string/issues"},"license":"MIT","versions":{"2.0.0":{"name":"rollup-plugin-string","version":"2.0.0","description":"Converts text files to modules","main":"dist/rollup-plugin-string.js","jsnext:main":"dist/rollup-plugin-string.mjs","files":["dist"],"dependencies":{"rollup-pluginutils":"^1.5.0"},"devDependencies":{"buble":"^0.10.6","mocha":"^2.5.3","rollup":"^0.31.0","rollup-plugin-buble":"^0.10.0"},"scripts":{"build":"rollup -c","pretest":"npm run build","test":"mocha test/*.js --compilers js:buble/register","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/TrySound/rollup-plugin-string.git"},"keywords":["rollup-plugin","stringify","string","template"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","bugs":{"url":"https://github.com/TrySound/rollup-plugin-string/issues"},"homepage":"https://github.com/TrySound/rollup-plugin-string","gitHead":"9b5c899cc2591f9f5d0595adf73959b237f079cc","_id":"rollup-plugin-string@2.0.0","_shasum":"00f467df49cd08e7f548e28fe0c556f1fec28ea0","_from":".","_npmVersion":"3.9.5","_nodeVersion":"0.12.14","_npmUser":{"name":"trysound","email":"trysound@yandex.ru"},"maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"dist":{"shasum":"00f467df49cd08e7f548e28fe0c556f1fec28ea0","tarball":"https://nexus.nspop.dk/nexus/repository/nsp-npm/rollup-plugin-string/-/rollup-plugin-string-2.0.0.tgz","integrity":"sha512-7hYQSZspaTkFrWFTVY6IdUKB6+93IDFGruMaorxYmS40hH9MJBK7jtIAk/OAFG+pql5E7C3IFpP6AfI3o7vnuw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBTlnHFgwCabNJD7tehSZql2EKJVEwI/+XmF3K4AA4nyAiAlc6de4lMSjeTKX44eZo+WCh0bMekIJ47F0uM/zCYsRg=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rollup-plugin-string-2.0.0.tgz_1465655107189_0.4932153227273375"},"directories":{}},"2.0.1":{"name":"rollup-plugin-string","version":"2.0.1","description":"Converts text files to modules","main":"dist/rollup-plugin-string.js","jsnext:main":"dist/rollup-plugin-string.mjs","files":["dist"],"dependencies":{"rollup-pluginutils":"^1.5.0"},"devDependencies":{"buble":"^0.10.6","mocha":"^2.5.3","rollup":"^0.31.0","rollup-plugin-buble":"^0.10.0"},"scripts":{"build":"rollup -c","pretest":"npm run build","test":"mocha test/*.js --compilers js:buble/register","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/TrySound/rollup-plugin-string.git"},"keywords":["rollup-plugin","stringify","string","template"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","bugs":{"url":"https://github.com/TrySound/rollup-plugin-string/issues"},"homepage":"https://github.com/TrySound/rollup-plugin-string","gitHead":"b383b9443dcbeca4f3f4682c98f9c09d8178f540","_id":"rollup-plugin-string@2.0.1","_shasum":"d129c3b24f2e011fef963ff20dc8257b0a925127","_from":".","_npmVersion":"3.9.5","_nodeVersion":"0.12.14","_npmUser":{"name":"trysound","email":"trysound@yandex.ru"},"maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"dist":{"shasum":"d129c3b24f2e011fef963ff20dc8257b0a925127","tarball":"https://nexus.nspop.dk/nexus/repository/nsp-npm/rollup-plugin-string/-/rollup-plugin-string-2.0.1.tgz","integrity":"sha512-i9KCHq6H/iHZB/QD6v7J+H3/jEKN99Ah4YGnvKjjrpXJ1rsIBFKMX9DvtCsMyEjvEeQzmChCkRjmpQ1JoMKXqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFnuvp1Rdm87zPi3LmKQfnEWWiraTf76+xfaFSvJ3RzDAiAhsAKjo4j7Lo/RhC+QsniLqIna067zQta8MF4M2sgvjw=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-string-2.0.1.tgz_1466707856026_0.647891684435308"},"directories":{}},"3.0.0":{"name":"rollup-plugin-string","version":"3.0.0","description":"Converts text files to modules","main":"index.js","dependencies":{"rollup-pluginutils":"^2.4.1"},"devDependencies":{"mocha":"^6.0.1","prettier":"^1.16.4","rollup":"^1.2.3"},"scripts":{"test":"mocha test/*.js"},"repository":{"type":"git","url":"git+https://github.com/TrySound/rollup-plugin-string.git"},"keywords":["rollup-plugin","stringify","string","template"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","bugs":{"url":"https://github.com/TrySound/rollup-plugin-string/issues"},"homepage":"https://github.com/TrySound/rollup-plugin-string","licenseText":"Copyright (c) Bogdan Chadkin <trysound@yandex.ru>\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n","_id":"rollup-plugin-string@3.0.0","dist":{"shasum":"fed2d6301fae1e59eb610957df757ef13fada3f0","integrity":"sha512-vqyzgn9QefAgeKi+Y4A7jETeIAU1zQmS6VotH6bzm/zmUQEnYkpIGRaOBPY41oiWYV4JyBoGAaBjYMYuv+6wVw==","tarball":"https://nexus.nspop.dk/nexus/repository/nsp-npm/rollup-plugin-string/-/rollup-plugin-string-3.0.0.tgz","fileCount":6,"unpackedSize":3306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccZRxCRA9TVsSAnZWagAADnEP/1PBIEaeZIWe/tBMQOil\nPIZJk13qWDrldqeEx5l6i+odmto90lCSNnKZFe/nkV7QRzVikzF5HUjWNjBd\nPelSXZAsqbqx9gLtgBzli81BLw1Zqzt5zdYyGvVweraZTx/iOuRxTF1GW71F\nJhrXxp22zBcjU/dz7RRrJv65C2e0pG8S80nLWtxOsivjRU8lUl5eviRjG6Go\nqsX2u494L6iaiqO5S+ogQwy47V64iZS7pxO4E/JBg8a/ggjVNzL4oyr46Tz9\nGBvuKt338hKnFEqOnU2XcJsNIS1IZGfCMxWtsVeX3DgXsn5Mu1pFqx58dyv2\nvqIiC0Ow/Vs3bex+nJeyS/Ju3mYRwnEni+u/GeIW/24WKcsZ88riXas3t6sJ\nxHxaKUDUt16DIpI9mbzZc6rWH/1HmdL20FnWcFXPzBknr1JI1q+wekJzjLBC\nv+/MntnuRzXy3U6P7MK2fAhfGE9b6uGSQBLlBkGdSnangKedtVi1beiKaaEy\nCjUSZuIS7vVUeUmi5gp7mDyL1CxEY40MdryYqGI+hVLlKf0gPogK4tdx43Mw\nvUmrsXdL622K2+veIrN8xQLfW5cr+5pOlQow96Bw2jzAOmX6Mq2aAeqUQWl1\nQ+R2ROGP22zD5nakUMk8wa1dc7m4K6Y7I4+pLKcPUJ+jEd3GEoSQw2FaDorJ\nLD29\r\n=YTxC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3S27ZVZaggdjRnoPG+RBxN8YpepU8pka1elepubO5SwIgIOz3brDAegAng0GaCvgU+fNbWKuSmxJmDf+XYkfyrw8="}]},"maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"_npmUser":{"name":"trysound","email":"trysound@yandex.ru"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-string_3.0.0_1550947441208_0.18525615470436296"},"_hasShrinkwrap":false},"1.0.0":{"name":"rollup-plugin-string","version":"1.0.0","description":"Convert any file to string exported with ES6 modules","main":"dist/rollup-plugin-string.cjs.js","jsnext:main":"dist/rollup-plugin-string.es6.js","files":["src","dist"],"devDependencies":{"mocha":"^2.3.3","rollup":"^0.20.3","rollup-plugin-babel":"^1.0.0"},"scripts":{"build":"node build.js","test":"mocha","pretest":"npm run build","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/TrySound/rollup-plugin-string.git"},"keywords":["stringify","string","rollup-plugin","template"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","bugs":{"url":"https://github.com/TrySound/rollup-plugin-string/issues"},"homepage":"https://github.com/TrySound/rollup-plugin-string#readme","gitHead":"eefa5d433bfe808c0b4fd365d3ccb204443cb4ad","_id":"rollup-plugin-string@1.0.0","_shasum":"7c9ef7510a785f9f8d5d5ea8423d9b500bf779cb","_from":".","_npmVersion":"3.3.9","_nodeVersion":"0.12.5","_npmUser":{"name":"trysound","email":"trysound@yandex.ru"},"dist":{"shasum":"7c9ef7510a785f9f8d5d5ea8423d9b500bf779cb","tarball":"https://nexus.nspop.dk/nexus/repository/nsp-npm/rollup-plugin-string/-/rollup-plugin-string-1.0.0.tgz","integrity":"sha512-08qwfIH4R0mS8w8Rrtu02ZT0P0onrapy7UB3q/NWkiYGIe1afmyK/pEczwaIsZZpcM1ehcigKIJU8OvwwufddQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBgVxonLHUCGkNae47q8izQht3HY9n45DD3Tw8r4DxPKAiBAMJ10kPoMhf7A7+B3ooFY/G5QxEkVmxs/YLY0tb8EXw=="}]},"maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"directories":{}},"1.0.1":{"name":"rollup-plugin-string","version":"1.0.1","description":"Import text files as strings","main":"dist/index.js","jsnext:main":"src/index.js","files":["src","dist"],"devDependencies":{"mocha":"^2.3.3","rollup":"^0.20.3","rollup-plugin-babel":"^1.0.0"},"scripts":{"build":"rollup -c","pretest":"npm run build","test":"mocha","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/TrySound/rollup-plugin-string.git"},"keywords":["rollup-plugin","stringify","string","template"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","bugs":{"url":"https://github.com/TrySound/rollup-plugin-string/issues"},"homepage":"https://github.com/TrySound/rollup-plugin-string#readme","gitHead":"ed1327046a5300a0210739628d8517663c6920f1","_id":"rollup-plugin-string@1.0.1","_shasum":"8998e6a5f4335d77cf25c7e088c536cf46178eb2","_from":".","_npmVersion":"3.3.9","_nodeVersion":"0.12.5","_npmUser":{"name":"trysound","email":"trysound@yandex.ru"},"dist":{"shasum":"8998e6a5f4335d77cf25c7e088c536cf46178eb2","tarball":"https://nexus.nspop.dk/nexus/repository/nsp-npm/rollup-plugin-string/-/rollup-plugin-string-1.0.1.tgz","integrity":"sha512-p4pdzJ23Rp3MkGrM0KDZMIaV331HawftbILZriqD6lmb6RlAaVNFWjkB/+fRX7bTTsGHFa/1va/YcBT5r2DnHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7fC79YqReFVVLk8kAH6GpfLBxQolKNLTebhFac3+ixAIhALm7WVn/bRvkGiPheRurdZ3YMCvfAZLCOKGx0JIc3l6m"}]},"maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"directories":{}},"2.0.2":{"name":"rollup-plugin-string","version":"2.0.2","description":"Converts text files to modules","main":"dist/rollup-plugin-string.js","jsnext:main":"dist/rollup-plugin-string.mjs","files":["dist"],"dependencies":{"rollup-pluginutils":"^1.5.0"},"devDependencies":{"buble":"^0.10.6","mocha":"^2.5.3","rollup":"^0.31.0","rollup-plugin-buble":"^0.10.0"},"scripts":{"build":"rollup -c","pretest":"npm run build","test":"mocha test/*.js --compilers js:buble/register","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/TrySound/rollup-plugin-string.git"},"keywords":["rollup-plugin","stringify","string","template"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","bugs":{"url":"https://github.com/TrySound/rollup-plugin-string/issues"},"homepage":"https://github.com/TrySound/rollup-plugin-string","gitHead":"f2dc8f7d2ad0c9af1d431c9acfc86dcd95f6e363","_id":"rollup-plugin-string@2.0.2","_shasum":"f5323a22cfd738b450cbea62ab6593705eac744b","_from":".","_npmVersion":"3.9.5","_nodeVersion":"0.12.14","_npmUser":{"name":"trysound","email":"trysound@yandex.ru"},"maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"dist":{"shasum":"f5323a22cfd738b450cbea62ab6593705eac744b","tarball":"https://nexus.nspop.dk/nexus/repository/nsp-npm/rollup-plugin-string/-/rollup-plugin-string-2.0.2.tgz","integrity":"sha512-/87QPV/C6/cqQdUJlOjOHwTCpNfGYbj8E9Hc6thWHgcBwOMP3jiIMkyc1BOj+DpK0dtexIz7Kycce3h8r71DiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5JR7U6yTmkA0YPVMNwTbc36UdEGxvphi2iz+jma9nTAIhANFEpRL7p/jvhDbw54NoErhK1IRHdfBdcZSRrO+wQnXJ"}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rollup-plugin-string-2.0.2.tgz_1466717008332_0.5214316179044545"},"directories":{}}},"name":"rollup-plugin-string","time":{"2.0.0":"2016-06-11T14:25:09.869Z","2.0.1":"2016-06-23T18:50:58.315Z","3.0.0":"2019-02-23T18:44:01.394Z","created":"2015-11-02T14:05:42.731Z","modified":"2025-05-07T15:10:43.653Z","1.0.0":"2015-11-02T14:05:42.731Z","1.0.1":"2015-11-05T13:45:38.044Z","2.0.2":"2016-06-23T21:23:30.853Z"},"readmeFilename":"README.md","homepage":"https://github.com/TrySound/rollup-plugin-string"}