{"_id":"resource-embedder","_rev":"28-1f1defaba495db6e08814efd851c36cb","name":"resource-embedder","description":"Embeds the contents of external scripts and stylesheets into HTML.","dist-tags":{"latest":"0.2.2"},"versions":{"0.0.1":{"name":"resource-embedder","version":"0.0.1","description":"Embeds the contents of external scripts and stylesheets into HTML.","homepage":"https://github.com/callumlocke/resource-embedder","bugs":{"url":"https://github.com/callumlocke/resource-embedder/issues"},"author":{"name":"Callum Locke","url":"https://github.com/callumlocke"},"repository":{"type":"git","url":"https://github.com/callumlocke/resource-embedder.git"},"licenses":[{"type":"MIT"}],"main":"index.js","scripts":{"test":"grunt nodeunit"},"devDependencies":{"grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","htmlparser2":"~3.3.0","graceful-fs":"~2.0.1","lodash":"~1.3.1","grunt-cli":"~0.1.9","grunt":"~0.4.1"},"dependencies":{"coffee-script":"~1.6.3"},"_id":"resource-embedder@0.0.1","dist":{"shasum":"a73bd0854594ca663f78dae64f4203755185801c","tarball":"https://registry.npmjs.org/resource-embedder/-/resource-embedder-0.0.1.tgz","integrity":"sha512-wpPJs6wcA7/j5e2KUU6LndnlESQU/R2CE4iyzhssTnCMlMpmHO8kmMI6AOpKjnu5Laqy2uEQ2C/rh/S0MnjiAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEAaeSyhk2Q5sxAXIgdzIduVicgD+WX3Jatn2uQHQ+CAAiBCWr9mvYQyRK8Gj6xKSo/uxkqPC+uXtSOYQiyx1SMkvQ=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"callumlocke","email":"callum.locke@gmail.com"},"maintainers":[{"name":"callumlocke","email":"callum.locke@gmail.com"}]},"0.0.2":{"name":"resource-embedder","version":"0.0.2","description":"Embeds the contents of external scripts and stylesheets into HTML.","homepage":"https://github.com/callumlocke/resource-embedder","bugs":{"url":"https://github.com/callumlocke/resource-embedder/issues"},"author":{"name":"Callum Locke","url":"https://github.com/callumlocke"},"repository":{"type":"git","url":"https://github.com/callumlocke/resource-embedder.git"},"licenses":[{"type":"MIT"}],"main":"index.js","scripts":{"test":"grunt nodeunit"},"devDependencies":{"grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","grunt-cli":"~0.1.9","grunt":"~0.4.1"},"dependencies":{"coffee-script":"~1.6.3","htmlparser2":"~3.3.0","graceful-fs":"~2.0.1","lodash":"~1.3.1"},"_id":"resource-embedder@0.0.2","dist":{"shasum":"12ade8debe6cd38b6c1ac84fd417bbcf4e629899","tarball":"https://registry.npmjs.org/resource-embedder/-/resource-embedder-0.0.2.tgz","integrity":"sha512-Q1/EYXDpZNojG4mHVTuYljbMNLG4+LR06R/EJOy1UDE52xme8z3cMLkhyBnCf8F3ozOVByl96MYA3ioQPf405w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvuSWaMGT8PZfqCS48cWLIJX5T/DLwYE1uBDpDbeDI3AIgBySjNTJJvt3aPieywa5GSFO/AF4RGDB5ma2aWzjxhLw="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"callumlocke","email":"callum.locke@gmail.com"},"maintainers":[{"name":"callumlocke","email":"callum.locke@gmail.com"}]},"0.0.3":{"name":"resource-embedder","version":"0.0.3","description":"Embeds the contents of external scripts and stylesheets into HTML.","homepage":"https://github.com/callumlocke/resource-embedder","bugs":{"url":"https://github.com/callumlocke/resource-embedder/issues"},"author":{"name":"Callum Locke","url":"https://github.com/callumlocke"},"repository":{"type":"git","url":"https://github.com/callumlocke/resource-embedder.git"},"licenses":[{"type":"MIT"}],"main":"index.js","scripts":{"test":"grunt nodeunit"},"devDependencies":{"grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","grunt-cli":"~0.1.9","grunt":"~0.4.1"},"dependencies":{"coffee-script":"~1.6.3","htmlparser2":"~3.3.0","graceful-fs":"~2.0.1","lodash":"~1.3.1"},"_id":"resource-embedder@0.0.3","dist":{"shasum":"34ce15a05d7a077b03efa784808ca7eda8e1ae6c","tarball":"https://registry.npmjs.org/resource-embedder/-/resource-embedder-0.0.3.tgz","integrity":"sha512-fNBvY89nYp9jOolQHxz/Ghewe1zP65J0QXmbwGRtNvQpyDEggBTEJa+fR5hkcQWkEv/4cty3Y2sJFujxlB0tDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAZLZwKfPhUSZCXrlsQNjmF5TqoZ1elhJ9WRXbYo/HjjAiEAllU8YBudYJh3K2flME5pDjtIUq2kOFv08TZZ2L7Yv68="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"callumlocke","email":"callum.locke@gmail.com"},"maintainers":[{"name":"callumlocke","email":"callum.locke@gmail.com"}]},"0.0.4":{"name":"resource-embedder","version":"0.0.4","description":"Embeds the contents of external scripts and stylesheets into HTML.","homepage":"https://github.com/callumlocke/resource-embedder","bugs":{"url":"https://github.com/callumlocke/resource-embedder/issues"},"author":{"name":"Callum Locke","url":"https://github.com/callumlocke"},"repository":{"type":"git","url":"https://github.com/callumlocke/resource-embedder.git"},"licenses":[{"type":"MIT"}],"main":"index.js","scripts":{"test":"grunt nodeunit"},"devDependencies":{"grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","grunt-cli":"~0.1.9","grunt":"~0.4.1","sugar":"~1.4.1"},"dependencies":{"coffee-script":"~1.6.3","htmlparser2":"~3.3.0","graceful-fs":"~2.0.1","lodash":"~1.3.1"},"_id":"resource-embedder@0.0.4","dist":{"shasum":"15bc98a7b4e999dcb00d906c240b487f4ca2c403","tarball":"https://registry.npmjs.org/resource-embedder/-/resource-embedder-0.0.4.tgz","integrity":"sha512-h8CZvZSanLycJXC3i53PAYiRaQlfffBdGTOuf0JlYicfqY27i24L5zXLx/grkQ7CWPrB9ifjCmNZCknf352ffA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoeQ3aIzlK1FMa5+1Ipt1dRD79G7S51sCwqVaKSdA6kgIgagcKsD0nhgpNXqjNiYlnKp1ZiC6weKt2EAoZfx0ofOI="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"callumlocke","email":"callum.locke@gmail.com"},"maintainers":[{"name":"callumlocke","email":"callum.locke@gmail.com"}]},"0.0.5":{"name":"resource-embedder","version":"0.0.5","description":"Embeds the contents of external scripts and stylesheets into HTML.","homepage":"https://github.com/callumlocke/resource-embedder","bugs":{"url":"https://github.com/callumlocke/resource-embedder/issues"},"author":{"name":"Callum Locke","url":"https://github.com/callumlocke"},"repository":{"type":"git","url":"https://github.com/callumlocke/resource-embedder.git"},"licenses":[{"type":"MIT"}],"main":"index.js","scripts":{"test":"grunt nodeunit"},"devDependencies":{"grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","grunt-cli":"~0.1.9","grunt":"~0.4.1","sugar":"~1.4.1"},"dependencies":{"coffee-script":"~1.6.3","htmlparser2":"~3.3.0","graceful-fs":"~2.0.1","lodash":"~1.3.1"},"_id":"resource-embedder@0.0.5","dist":{"shasum":"8216b5337d676a091e8958d5942bc53bd3a9ea01","tarball":"https://registry.npmjs.org/resource-embedder/-/resource-embedder-0.0.5.tgz","integrity":"sha512-8KTglhmtz66bBpwqbdLBdZEOnNGOzPEW1sSNLDWCjhMx45tR7cKCJ6W4nXg0khEPf9vzzfNkvJ1ByV87rVQrcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9j84XdYT4PHQm6W040gOHPUYPsNMtrrh2dIR/DCamWAIgJFiE8o8hXthrcygHYA+I0UzEVzKPoIiuUv3KaHU1/60="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"callumlocke","email":"callum.locke@gmail.com"},"maintainers":[{"name":"callumlocke","email":"callum.locke@gmail.com"}]},"0.0.6":{"name":"resource-embedder","version":"0.0.6","description":"Embeds the contents of external scripts and stylesheets into HTML.","homepage":"https://github.com/callumlocke/resource-embedder","bugs":{"url":"https://github.com/callumlocke/resource-embedder/issues"},"author":{"name":"Callum Locke","url":"https://github.com/callumlocke"},"repository":{"type":"git","url":"https://github.com/callumlocke/resource-embedder.git"},"licenses":[{"type":"MIT"}],"main":"index.js","scripts":{"test":"grunt nodeunit"},"devDependencies":{"grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","grunt-cli":"~0.1.9","grunt":"~0.4.1","sugar":"~1.4.1"},"dependencies":{"coffee-script":"~1.6.3","htmlparser2":"~3.3.0","graceful-fs":"~2.0.1","lodash":"~1.3.1"},"_id":"resource-embedder@0.0.6","dist":{"shasum":"0927da9e290f648cc96504a6badd38432d048e73","tarball":"https://registry.npmjs.org/resource-embedder/-/resource-embedder-0.0.6.tgz","integrity":"sha512-2hWmapqOu0y0rhi9dyVaGISVYUpeMoM8yB955fxlESlCukiz0XNfITbCsLMcirojqWU1iHiQwDx5xx/lzg/KSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFYMTRPCWaJ5NN+uBjEWoMogJyBefBqhXdFtax23VW+PAiEAgSl/El0TZfy5AUsEpxCImxH+SQDW95fKrzZakn9+twc="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"callumlocke","email":"callum.locke@gmail.com"},"maintainers":[{"name":"callumlocke","email":"callum.locke@gmail.com"}]},"0.1.0":{"name":"resource-embedder","version":"0.1.0","description":"Embeds the contents of external scripts and stylesheets into HTML.","homepage":"https://github.com/callumlocke/resource-embedder","bugs":{"url":"https://github.com/callumlocke/resource-embedder/issues"},"author":{"name":"Callum Locke","url":"https://github.com/callumlocke"},"repository":{"type":"git","url":"https://github.com/callumlocke/resource-embedder.git"},"licenses":[{"type":"MIT"}],"main":"index.js","scripts":{"test":"grunt nodeunit"},"devDependencies":{"grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","grunt-cli":"~0.1.9","grunt":"~0.4.1","sugar":"~1.4.1","wrench":"~1.5.4"},"dependencies":{"coffee-script":"~1.6.3","htmlparser2":"~3.3.0","graceful-fs":"~2.0.1","lodash":"~1.3.1"},"_id":"resource-embedder@0.1.0","dist":{"shasum":"670accd51a00a4aeef8e4a9be27297ebad7d2863","tarball":"https://registry.npmjs.org/resource-embedder/-/resource-embedder-0.1.0.tgz","integrity":"sha512-gjI18hm7kK272DcG89MD+db6s7VysWSkvMLzErC6Cx8qf1/8Fsjy2z4PycrSKCdzVI2KXqGZQCrBjHk4L80ryw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHVsz1dUiu5lTiEEqlHg7FRzx3UVI76OluYlJT0Wco76AiBD37mcKZVAY7nABioWHksD7miY8LUrRGtWQzWSELnoxw=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"callumlocke","email":"callum.locke@gmail.com"},"maintainers":[{"name":"callumlocke","email":"callum.locke@gmail.com"}]},"0.1.1":{"name":"resource-embedder","version":"0.1.1","description":"Embeds the contents of external scripts and stylesheets into HTML.","homepage":"https://github.com/callumlocke/resource-embedder","bugs":{"url":"https://github.com/callumlocke/resource-embedder/issues"},"author":{"name":"Callum Locke","url":"https://github.com/callumlocke"},"repository":{"type":"git","url":"https://github.com/callumlocke/resource-embedder.git"},"licenses":[{"type":"MIT"}],"main":"index.js","scripts":{"test":"grunt nodeunit"},"devDependencies":{"grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","grunt-cli":"~0.1.9","grunt":"~0.4.1","sugar":"~1.4.1","wrench":"~1.5.4"},"dependencies":{"coffee-script":"~1.7.1","htmlparser2":"~3.5.0","graceful-fs":"~2.0.2","lodash":"~2.4.1","reorient-css":"~0.1.1"},"_id":"resource-embedder@0.1.1","dist":{"shasum":"1e8b46c2703a4fa26ea326d91f49f817fe1136ec","tarball":"https://registry.npmjs.org/resource-embedder/-/resource-embedder-0.1.1.tgz","integrity":"sha512-GJ0wZCClUoBVTtcgPo3Tk/bfWenYrgQUez18++UWTmA4DS68H2cAuu19/Mo2AU1G7KfvyUp1rpORY5JmKOLujw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICH7BmCvnAYfJS2+6KUG1UA04yQZhuqxs9n6AM03KzW0AiBhIYl7olLDuLeVKNyKHakEzQpj8c2CsUNyVY+1TFyjsw=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"callumlocke","email":"callum.locke@gmail.com"},"maintainers":[{"name":"callumlocke","email":"callum.locke@gmail.com"}]},"0.1.2":{"name":"resource-embedder","version":"0.1.2","description":"Embeds the contents of external scripts and stylesheets into HTML.","homepage":"https://github.com/callumlocke/resource-embedder","bugs":{"url":"https://github.com/callumlocke/resource-embedder/issues"},"author":{"name":"Callum Locke","url":"https://github.com/callumlocke"},"repository":{"type":"git","url":"https://github.com/callumlocke/resource-embedder.git"},"licenses":[{"type":"MIT"}],"main":"index.js","scripts":{"test":"grunt nodeunit"},"devDependencies":{"grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","grunt-cli":"~0.1.9","grunt":"~0.4.1","sugar":"~1.4.1","wrench":"~1.5.4"},"dependencies":{"coffee-script":"~1.7.1","htmlparser2":"~3.5.0","graceful-fs":"~2.0.2","lodash":"~2.4.1","reorient-css":"~0.1.1"},"_id":"resource-embedder@0.1.2","dist":{"shasum":"8f11bf80d09a0a30f2abdb82e35b2676425e72ee","tarball":"https://registry.npmjs.org/resource-embedder/-/resource-embedder-0.1.2.tgz","integrity":"sha512-KSwYoGl5D0s8FSHVR0Tgmh0JqZl5IzxKUoriQnVkvGXon+sLCzx1p4fYqsxbBC6S0psnGpL14R0U9VeUTsCVEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGgxLhoCHY/VAtw/e/TS6mdDMBnDU2Q1zSmkVWe7nFiNAiEApZzagIx5BIIy9m0Bcxw7u99232x0xJ2GX0aktq5/nFE="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"callumlocke","email":"callum.locke@gmail.com"},"maintainers":[{"name":"callumlocke","email":"callum.locke@gmail.com"}]},"0.2.1":{"name":"resource-embedder","version":"0.2.1","description":"Embeds the contents of external scripts and stylesheets into HTML.","homepage":"https://github.com/callumlocke/resource-embedder","bugs":{"url":"https://github.com/callumlocke/resource-embedder/issues"},"author":{"name":"Callum Locke","url":"https://github.com/callumlocke"},"repository":{"type":"git","url":"https://github.com/callumlocke/resource-embedder.git"},"licenses":[{"type":"MIT"}],"main":"index.js","scripts":{"test":"grunt nodeunit"},"devDependencies":{"grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","grunt-cli":"~0.1.9","grunt":"~0.4.1","sugar":"~1.4.1","wrench":"~1.5.4"},"dependencies":{"coffee-script":"~1.7.1","htmlparser2":"~3.5.0","graceful-fs":"~2.0.2","lodash":"~2.4.1","reorient-css":"~0.2.1"},"_id":"resource-embedder@0.2.1","dist":{"shasum":"138ea4ca6ba205fa2e874e1308397b96dbbd8a31","tarball":"https://registry.npmjs.org/resource-embedder/-/resource-embedder-0.2.1.tgz","integrity":"sha512-z1JnSKVJYB91fj7h6m5sSUnIaKDQ1cqwPbV4xC/AprMbt8TgrFBELFtLEsY4cSBheJ2a6ztSoFPwLoe6QsJduQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE/pPBj5XEq5moKpZOW5dPX1XIyZ57f8yAjxnuKXkYaJAiBmpAOR1HEfOWs/a/DWBUE0LadIh4lE5p3/LdS0/zomug=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"callumlocke","email":"callum.locke@gmail.com"},"maintainers":[{"name":"callumlocke","email":"callum.locke@gmail.com"}]},"0.2.2":{"name":"resource-embedder","version":"0.2.2","description":"Embeds the contents of external scripts and stylesheets into HTML.","homepage":"https://github.com/callumlocke/resource-embedder","bugs":{"url":"https://github.com/callumlocke/resource-embedder/issues"},"author":{"name":"Callum Locke","url":"https://github.com/callumlocke"},"repository":{"type":"git","url":"https://github.com/callumlocke/resource-embedder.git"},"licenses":[{"type":"MIT"}],"main":"index.js","scripts":{"test":"grunt nodeunit"},"devDependencies":{"grunt-contrib-nodeunit":"~0.2.0","grunt-contrib-watch":"~0.5.3","grunt-cli":"~0.1.9","grunt":"~0.4.1","sugar":"~1.4.1","wrench":"~1.5.4"},"dependencies":{"coffee-script":"~1.7.1","htmlparser2":"~3.5.0","graceful-fs":"~2.0.2","lodash":"~2.4.1","reorient-css":"~0.2.1"},"_id":"resource-embedder@0.2.2","dist":{"shasum":"20688fb5143737ec33a23b372c9144cb48196426","tarball":"https://registry.npmjs.org/resource-embedder/-/resource-embedder-0.2.2.tgz","integrity":"sha512-S1dqJKB4BL9fiFsWKkAD28//DqYShZK2n5YAIVw8qq+W8dgX00o0MSesJDPPrXXG+zy4C8qHJE7mQRADN614+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGzUplo2KKOYWB2lXkzMO5LEoibn71Fa1Dubo9Msw47EAiEAg0tCc8prO6B8IxGCYFJJJlTNAitDNfic72M0Cfv0PkE="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"callumlocke","email":"callum.locke@gmail.com"},"maintainers":[{"name":"callumlocke","email":"callum.locke@gmail.com"}]}},"readme":"# resource-embedder [![Build Status](https://secure.travis-ci.org/callumlocke/resource-embedder.png?branch=master)](http://travis-ci.org/callumlocke/resource-embedder)\n\n> Also available as a Grunt plugin: [grunt-embed](https://github.com/callumlocke/grunt-embed)\n\nAutomatically embeds the contents of external scripts and stylesheets into HTML markup.\n\nTakes an HTML file path and generates a string of modified markup. Any small external scripts and stylesheets are replaced with inline `<script>...</script>` or `<style>...</style>` elements.\n\nThis reduces the number of HTTP requests in return for inflating your HTML. It's up to you to decide whether this is a good trade-off in your situation.\n\n\n## Usage\n\n    npm install resource-embedder\n\n```javascript\nvar ResourceEmbedder = require('resource-embedder');\n\nvar embedder = new ResourceEmbedder('./app/page.html');\n\nembedder.get(function (markup) {\n  fs.writeFileSync('./dist/page.html', markup);\n});\n```\n\n### Choosing which files to embed\n\nBy default, **any scripts or stylesheets below 5KB in size** will be embedded. You can change this setting in the options.\n\nYou can also manually decide the threshold for each resource using a `data-embed` attribute.\n\nTo always embed a particular resource, regardless of filesize, just include the attribute:\n\n```html\n<script src=\"foo.js\" data-embed></script>\n<link rel=\"stylesheet\" href=\"foo.css\" data-embed>\n```\n\nTo prevent a particular script from ever being embedded, set it to `false` (or `0`):\n\n```html\n<script src=\"foo.js\" data-embed=\"false\"></script>\n<link rel=\"stylesheet\" href=\"foo.css\" data-embed=\"false\">\n```\n\nTo embed a particular resource only if it is below a certain size, specify the maximum number of bytes, or something like `5KB`:\n\n```html\n<script src=\"foo.js\" data-embed=\"2000\"></script>\n<link rel=\"stylesheet\" href=\"foo.css\" data-embed=\"5KB\">\n```\n\n### Options\n\nTo specify options:\n\n`new ResourceEmbedder('./file.html', options);`\n\n...or just: `new ResourceEmbedder(options);`\n\n* `htmlFile` — only required if you don't pass a file path as the first argument to the constructor.\n* `assetRoot` — (optional) – use this if you need to specify the directory that the relative resource URLs will be considered relative to. (By default, it's the same directory as the HTML file.)\n* `threshold` (default: `\"5KB\"`) — all resources below this filesize will be embedded. NB: you can set this to `0` if you want, in which case nothing will be embedded except those resources you mark with a `data-embed` attribute (see above).\n* `stylesheets` (default: `true`) — whether to embed stylesheets.\n* `scripts` (default: `true`) — whether to embed scripts.\n* `deleteEmbeddedFiles` (default: `false`) – whether the external files should be deleted after being embedded.\n\n\n## Contributing\n\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Test your code using [Grunt](http://gruntjs.com/).\n\n\n### Tasks\n\nWhen you're working on a specific module in `src`, e.g. `parse-file-size.coffee`, first run `grunt watch:parse-file-size` in a terminal and keep the window open. Then open `src/parse-file-size.coffee` and `test/parse-file-size_test.coffee` and work on them side-by-side. New test results will appear in the terminal whenever you save either file.\n\nYou can also just do `grunt watch` to watch all modules at once and run all test files whenever anything changes.\n\n\n## Release History\n\n_(Nothing yet)_\n\n\n## License\n\nCopyright (c) 2013 Callum Locke. Licensed under the MIT license.\n\n\n## Wishlist\n\n* Connect/Express middleware\n* ability to specify root for relative paths, in case different from the HTML file\n* remove `data-embed` attributes from elements that don't get embedded, so they don't litter the output markup unnecessarily\n\n","maintainers":[{"name":"callumlocke","email":"callum.locke@gmail.com"}],"time":{"modified":"2022-06-26T11:54:51.085Z","created":"2013-09-12T14:53:13.797Z","0.0.1":"2013-09-12T14:53:17.939Z","0.0.2":"2013-09-12T14:56:33.900Z","0.0.3":"2013-09-12T15:06:27.389Z","0.0.4":"2013-09-25T20:29:46.195Z","0.0.5":"2013-09-26T13:27:10.231Z","0.0.6":"2013-10-07T12:22:25.379Z","0.1.0":"2013-10-17T16:13:33.509Z","0.1.1":"2014-02-24T23:57:32.153Z","0.1.2":"2014-02-25T01:18:09.105Z","0.2.1":"2014-02-25T13:13:12.877Z","0.2.2":"2014-05-22T16:18:31.351Z"},"author":{"name":"Callum Locke","url":"https://github.com/callumlocke"},"repository":{"type":"git","url":"https://github.com/callumlocke/resource-embedder.git"},"homepage":"https://github.com/callumlocke/resource-embedder","bugs":{"url":"https://github.com/callumlocke/resource-embedder/issues"},"readmeFilename":"README.md","users":{"coderaiser":true}}