{"_id":"gulp-smoosher","_rev":"29-b5dcd7de4d4db9e770151f831ed6f024","name":"gulp-smoosher","description":"Inline css and js links with file contents","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.1":{"name":"gulp-smoosher","version":"0.0.1","description":"Replaces css and js links with file contents","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/gabrielflorit/gulp-smoosher.git"},"keywords":["gulpplugin"],"author":{"name":"Gabriel Florit","url":"http://gabrielflor.it"},"license":"MIT","dependencies":{"gulp-util":"~2.2.14","through2":"~0.4.1","cheerio":"~0.13.1","gulp-replace":"~0.2.0"},"devDependencies":{"mocha":"~1.17.1"},"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/gabrielflorit/gulp-smoosher/issues"},"homepage":"https://github.com/gabrielflorit/gulp-smoosher","_id":"gulp-smoosher@0.0.1","dist":{"shasum":"ff9b16db6f56c998e65c5b5567e1c3c55840ff60","tarball":"https://registry.npmjs.org/gulp-smoosher/-/gulp-smoosher-0.0.1.tgz","integrity":"sha512-sAQ38+xTBf16+TKXQVxtnST3KOaHED8hxwpyTs/3D0wsJQrWVrrhb5FEgjwcLGbFEIn95Ym5N1xEKbmFlz/9bA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFvXXtYOyrPAy7e1HdeDnLROFNrWSnZ/DGWJzmuh11zhAiAYlkJ42usW5DJbnH2xFzhTja4YDoNDuTR1uw5nG470Dg=="}]},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"},"maintainers":[{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"}]},"0.0.2":{"name":"gulp-smoosher","version":"0.0.2","description":"Replaces css and js links with file contents","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/gabrielflorit/gulp-smoosher.git"},"keywords":["gulpplugin"],"author":{"name":"Gabriel Florit","url":"http://gabrielflor.it"},"license":"MIT","dependencies":{"gulp-util":"~2.2.14","through2":"~0.4.1","cheerio":"~0.13.1","gulp-replace":"~0.2.0"},"devDependencies":{"mocha":"~1.17.1"},"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/gabrielflorit/gulp-smoosher/issues"},"homepage":"https://github.com/gabrielflorit/gulp-smoosher","_id":"gulp-smoosher@0.0.2","dist":{"shasum":"f99f55a1dec9ac8db442e3b104dd0d4b804cf33f","tarball":"https://registry.npmjs.org/gulp-smoosher/-/gulp-smoosher-0.0.2.tgz","integrity":"sha512-THS3wNeyzk046lDdhO7DKKyV/z8SITWDDp1D6Lar34ubyo4sMWdylfvDtCzVh6e0x6HtTNgX0RFbh/IR1KKnbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCt7dTZsk4a55Osdu8eF+CocDJ+a4/ORUcaFSN6cQ4dDQIhAK+g6tRWuTTxByIKdbdBxPyGkbl9okWti0ntItk4mPh/"}]},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"},"maintainers":[{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"}]},"0.0.3":{"name":"gulp-smoosher","version":"0.0.3","description":"Replaces css and js links with file contents","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/gabrielflorit/gulp-smoosher.git"},"keywords":["gulpplugin"],"author":{"name":"Gabriel Florit","url":"http://gabrielflor.it"},"license":"MIT","dependencies":{"gulp-util":"~2.2.14","through2":"~0.4.1","cheerio":"~0.13.1","gulp-replace":"~0.2.0"},"devDependencies":{"mocha":"~1.17.1"},"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/gabrielflorit/gulp-smoosher/issues"},"homepage":"https://github.com/gabrielflorit/gulp-smoosher","_id":"gulp-smoosher@0.0.3","dist":{"shasum":"2369bd2c1ecdf202b127ff6f6d51ddb1ab1d03cf","tarball":"https://registry.npmjs.org/gulp-smoosher/-/gulp-smoosher-0.0.3.tgz","integrity":"sha512-yfwZxstFKzJ+Rs9jCDAHOKqn0etoElyVCtQQ6RIYW+NZ3IeH37zIke2IXEplvDjZpYM7pVhUcO1WFCu6gVLRgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGkE36nxeV56SRQTlzjytwI8iDfnQnkjPM3VpXHPv+5UAiEAqntdyR2CI6ZyRkKB5BcOzr6DDkIx4SB5xoQ5KSFlIL4="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"},"maintainers":[{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"}]},"0.0.4":{"name":"gulp-smoosher","version":"0.0.4","description":"Replaces css and js links with file contents","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/gabrielflorit/gulp-smoosher.git"},"keywords":["gulpplugin"],"author":{"name":"Gabriel Florit","url":"http://gabrielflor.it"},"license":"MIT","dependencies":{"gulp-util":"~2.2.14","through2":"~0.4.1","cheerio":"~0.13.1","gulp-replace":"~0.2.0"},"devDependencies":{"mocha":"~1.17.1"},"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/gabrielflorit/gulp-smoosher/issues"},"homepage":"https://github.com/gabrielflorit/gulp-smoosher","_id":"gulp-smoosher@0.0.4","dist":{"shasum":"9efd7b8e0bc09ed8541044b2a6f3207e991dd9ca","tarball":"https://registry.npmjs.org/gulp-smoosher/-/gulp-smoosher-0.0.4.tgz","integrity":"sha512-Bq/hvn99aZX2kK1ul/uUHZSKq6CWT3T7eeLXkUJWjbMnuVn6/9m3LE2pwxKePNx6DW0ie2cpLuuHEQ3EsAfpKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGN0812Qb6nUemnTLnjuYdf/b3Mw80KbSUSxAUyQWLH+AiEAx5lY2DpvPQfQc8iPujzP3yUGzQ0Ao+2On1vDnyc50QY="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"},"maintainers":[{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"}]},"0.0.5":{"name":"gulp-smoosher","version":"0.0.5","description":"Replaces css and js links with file contents","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/gabrielflorit/gulp-smoosher.git"},"keywords":["gulpplugin"],"author":{"name":"Gabriel Florit","url":"http://gabrielflor.it"},"license":"MIT","dependencies":{"gulp-util":"~2.2.14","through2":"~0.4.1","cheerio":"~0.13.1","gulp-replace":"~0.2.0"},"devDependencies":{"mocha":"~1.17.1"},"engines":{"node":">=0.10"},"gitHead":"5141544b4fc6aa4ae952053d764cede77cfbb3a8","bugs":{"url":"https://github.com/gabrielflorit/gulp-smoosher/issues"},"homepage":"https://github.com/gabrielflorit/gulp-smoosher","_id":"gulp-smoosher@0.0.5","_shasum":"4014e6dffa8b1af49bf7c5295c54f44a79556fca","_from":".","_npmVersion":"1.4.13","_npmUser":{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"},"maintainers":[{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"}],"dist":{"shasum":"4014e6dffa8b1af49bf7c5295c54f44a79556fca","tarball":"https://registry.npmjs.org/gulp-smoosher/-/gulp-smoosher-0.0.5.tgz","integrity":"sha512-UC/yArNg3wX5l4RrdA8pKXaqTUB5gIHkAPRWjh+KivYx9eETCgOD3JafltZ20raK+VR0aTkywopf5OBzs00LqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGJ/vc3d9QPkNndltfSsXbgnPvazQuy6E9F32WMwbSb8AiB1iF3FN1Keq2aS5gbMy7MmO76BReB2quQ8DvYkw+Fv2Q=="}]}},"0.0.6":{"name":"gulp-smoosher","version":"0.0.6","description":"Replaces css and js links with file contents","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/gabrielflorit/gulp-smoosher.git"},"keywords":["gulpplugin"],"author":{"name":"Gabriel Florit","url":"http://gabrielflor.it"},"license":"MIT","dependencies":{"async":"^0.9.0","async-replace":"^1.0.0","cheerio":"~0.13.1","gulp-util":"~2.2.14","through2":"~0.4.1"},"devDependencies":{"mocha":"~1.17.1"},"engines":{"node":">=0.10"},"gitHead":"e3d21c6e7809b0ce88f2fbb7684fa253513940d0","bugs":{"url":"https://github.com/gabrielflorit/gulp-smoosher/issues"},"homepage":"https://github.com/gabrielflorit/gulp-smoosher","_id":"gulp-smoosher@0.0.6","_shasum":"4e28ae7ba445355a3221befd80d97e69200fa074","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"},"maintainers":[{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"}],"dist":{"shasum":"4e28ae7ba445355a3221befd80d97e69200fa074","tarball":"https://registry.npmjs.org/gulp-smoosher/-/gulp-smoosher-0.0.6.tgz","integrity":"sha512-ge2YpGCfTHyEICaDeiGMLZZhy6NHN7Hz67HrexwX5aLGblXp5MdEVg1moI/zRauhNH5HHalp5/grTnTUXH2HyQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIbtVOh+CKt12L+1w4SW24Fy2x+onxKZrNbwYN45ZYVAIhAOanUat2vfm3WA/H5AN/3hllhx550Gx1RKMj2ILWHhJ4"}]}},"0.0.7":{"name":"gulp-smoosher","version":"0.0.7","description":"Inline css and js links with file contents","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/gabrielflorit/gulp-smoosher.git"},"keywords":["gulpplugin","inline","css","javascript"],"author":{"name":"Gabriel Florit","url":"http://gabrielflor.it"},"license":"MIT","dependencies":{"async":"^0.9.0","async-replace":"^1.0.0","cheerio":"~0.13.1","gulp-util":"~2.2.14","through2":"~0.4.1"},"devDependencies":{"mocha":"~1.17.1"},"engines":{"node":">=0.10"},"gitHead":"72edec5def551930fea7cbee1061b6b12438d30f","bugs":{"url":"https://github.com/gabrielflorit/gulp-smoosher/issues"},"homepage":"https://github.com/gabrielflorit/gulp-smoosher","_id":"gulp-smoosher@0.0.7","_shasum":"bb954bbadc89aad129ecd0f5e81c59a0b988bb79","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"},"maintainers":[{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"}],"dist":{"shasum":"bb954bbadc89aad129ecd0f5e81c59a0b988bb79","tarball":"https://registry.npmjs.org/gulp-smoosher/-/gulp-smoosher-0.0.7.tgz","integrity":"sha512-uFXndNijCESMzMaGXN99/k+p0yLE98wy4DNmjATscUwbr+22/tznWGH9Jmtql3DuV2KtUgAr6e9kVJTYvRjN3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHtjLYZXfJWuru9D1ZRR8qhwF4j+Vdz9HlVaOqpnDCenAiA71gPl0EBcrZOJqPJ8KdpeR76wqT8LunU3Um95PxsfDA=="}]}},"0.0.8":{"name":"gulp-smoosher","version":"0.0.8","description":"Inline css and js links with file contents","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/gabrielflorit/gulp-smoosher.git"},"keywords":["gulpplugin","inline","css","javascript"],"author":{"name":"Gabriel Florit","url":"http://gabrielflor.it"},"license":"MIT","dependencies":{"async":"^0.9.0","async-replace":"^1.0.0","cheerio":"~0.13.1","gulp-util":"~2.2.14","lodash":"^3.10.1","through2":"~0.4.1"},"devDependencies":{"mocha":"~1.17.1"},"engines":{"node":">=0.10"},"gitHead":"482fc8e78221c4cf3a1cb35ab94e0966f9faa580","bugs":{"url":"https://github.com/gabrielflorit/gulp-smoosher/issues"},"homepage":"https://github.com/gabrielflorit/gulp-smoosher#readme","_id":"gulp-smoosher@0.0.8","_shasum":"7ff410b670f80f11af1259767b039e450ded2163","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"},"maintainers":[{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"}],"dist":{"shasum":"7ff410b670f80f11af1259767b039e450ded2163","tarball":"https://registry.npmjs.org/gulp-smoosher/-/gulp-smoosher-0.0.8.tgz","integrity":"sha512-74lSBoM+hJZqP9DULxVaIS8Lx+L6I05a7w+opAbiZ+vQC1ZlmvVIirgnA6y9nqlodhMdgptlZ3nON3vI6iaLDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCstvGltWVOXEjJ5Eu3L9YEC/VfePOYe1HF/uhgygTh4wIhAL9OLr3Ns39d8BywAG6y5mnBW0Qe6J9cED7gdOKlRGsh"}]}},"0.0.9":{"name":"gulp-smoosher","version":"0.0.9","description":"Inline css and js links with file contents","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/gabrielflorit/gulp-smoosher.git"},"keywords":["gulpplugin","inline","css","javascript"],"author":{"name":"Gabriel Florit","url":"http://gabrielflor.it"},"license":"MIT","dependencies":{"async":"^0.9.0","async-replace":"^1.0.0","cheerio":"~0.13.1","gulp-util":"~2.2.14","lodash":"^3.10.1","through2":"~0.4.1"},"devDependencies":{"mocha":"~1.17.1"},"engines":{"node":">=0.10"},"gitHead":"92b953606ddf88067affa3e8c7d00d738432970b","bugs":{"url":"https://github.com/gabrielflorit/gulp-smoosher/issues"},"homepage":"https://github.com/gabrielflorit/gulp-smoosher#readme","_id":"gulp-smoosher@0.0.9","_shasum":"222aa21eee53133cef28bf248b5c4975b89ddb1f","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"},"dist":{"shasum":"222aa21eee53133cef28bf248b5c4975b89ddb1f","tarball":"https://registry.npmjs.org/gulp-smoosher/-/gulp-smoosher-0.0.9.tgz","integrity":"sha512-7TC1YVDAJNpvC2z2/y89svsuJhLVHcx0NMsbx0IrUOBnuHvFRFWuPHJ0UXeizK3wrtFVuGLjAnvfV/+QN2gAlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8NNN21XyY/Fa50VjyCwiHFx0cJPCdLhBexo+BF6xguQIgOik9ujm5rCSYRsEcasnwmJ+7rrzl8fdCGLR4EWYPPlw="}]},"maintainers":[{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"}]}},"readme":"# gulp-smoosher [![Build Status](https://travis-ci.org/gabrielflorit/gulp-smoosher.png?branch=master)](https://travis-ci.org/gabrielflorit/gulp-smoosher)\n> Replaces css and js links with file contents\n\n## Install\n\nInstall with [npm](https://npmjs.org/package/gulp-smoosher)\n\n```\nnpm install --save-dev gulp-smoosher\n```\n\n\n## Example\n\n### `index.html`\n\n```html\n<html>\n\t<head>\n\t\t<!-- smoosh -->\n\t\t<link rel='stylesheet' href='styles.css'>\n\t\t<!-- endsmoosh -->\n\t</head>\n...\n```\n\n### `styles.css`\n\n```css\nbody {\n\tbackground: red;\n}\n```\n\n### `Gulpfile.js`\n\n```js\nvar gulp = require('gulp');\nvar smoosher = require('gulp-smoosher');\n\ngulp.task('default', function () {\n\tgulp.src('index.html')\n\t\t.pipe(smoosher())\n\t\t.pipe(gulp.dest('dist'));\n});\n```\n\n### `dist/index.html`\n\n```html\n<html>\n\t<head>\n\t\t<style>body {\n\t\t\tbackground: red;\n\t\t}</style>\n\t</head>\n...\n```\n\n## Options\n\n### Custom js/css tags\nPass in custom js/css tags, if so desired. Example:\n\n```js\nvar gulp = require('gulp');\nvar smoosher = require('gulp-smoosher');\n\ngulp.task('default', function () {\n\tgulp.src('index.html')\n\t\t.pipe(smoosher({\n\t\t\tcssTags: {\n\t\t\t\tbegin: '<p:style>',\n\t\t\t\tend: '</p:style>'\n\t\t\t},\n\t\t\tjsTags: {\n\t\t\t\tbegin: '<p:script>',\n\t\t\t\tend: '</p:script>'\n\t\t\t}\n\t\t}))\n\t\t.pipe(gulp.dest('dist'));\n});\n```\n\nwill result in the following:\n\n```html\n<html>\n\t<head>\n\t\t<p:style>body {\n\t\t\tbackground: red;\n\t\t}</p:style>\n\t\t<p:script>alert('Hello world!');</p:script>\n\t</head>\n...\n```\n### Custom `base` dir\nSay your `index.html` is still in your `src/` directory and files you intend to smoosh are already written to your `dist/`. In this case, specify a custom `base` to resolve your files from.\n\n```js\ngulp.task('default', ['minifyCss', 'uglifyJs'], function () {\n\tgulp.src('src/index.html')\n\t\t.pipe(smoosher({\n\t\t\tbase: 'dist'\n\t\t}))\n\t\t.pipe(gulp.dest('dist'));\n});\n```\n\n### Ignore files not found\nWhen the option `ignoreFilesNotFound` is true the plugin will keep running even if it finds a nonexistent file:\n\n```js\ngulp.task('default', function () {\n\tgulp.src('src/index.html')\n\t\t.pipe(smoosher({\n\t\t\tignoreFilesNotFound: true\n\t\t}))\n\t\t.pipe(gulp.dest('dist'));\n});\n```\n\n\n## Notes\n\nIf you use [grunt](http://gruntjs.com) instead of gulp, but want to perform a similar task, use [grunt-html-smoosher](https://github.com/motherjones/grunt-html-smoosher).\n\n## Contributors\n\n- Gabriel Florit\n- Andrew Shaffer\n- Jackson Ray Hamilton\n\n## License\n\nMIT © [Gabriel Florit](http://gabrielflorit.github.io/)\n","maintainers":[{"name":"gabrielflorit","email":"gabrielflorit@gmail.com"}],"time":{"modified":"2022-06-18T17:59:43.789Z","created":"2014-02-23T04:28:41.180Z","0.0.1":"2014-02-23T04:28:41.689Z","0.0.2":"2014-03-08T21:10:35.363Z","0.0.3":"2014-03-21T04:03:07.545Z","0.0.4":"2014-03-28T20:08:18.358Z","0.0.5":"2014-06-05T06:24:19.796Z","0.0.6":"2014-10-01T18:38:06.192Z","0.0.7":"2014-11-10T22:00:01.227Z","0.0.8":"2015-08-19T23:13:05.632Z","0.0.9":"2015-12-02T21:00:46.679Z"},"readmeFilename":"README.md","homepage":"https://github.com/gabrielflorit/gulp-smoosher#readme","keywords":["gulpplugin","inline","css","javascript"],"repository":{"type":"git","url":"git+https://github.com/gabrielflorit/gulp-smoosher.git"},"author":{"name":"Gabriel Florit","url":"http://gabrielflor.it"},"bugs":{"url":"https://github.com/gabrielflorit/gulp-smoosher/issues"},"license":"MIT","users":{"adamlu":true,"atriix":true,"tylersclark":true,"cperezabo":true,"ironclad.soul":true}}