{"_id":"useref","_rev":"40-139be9458be259e2b55c9aa46aaf9a20","name":"useref","time":{"modified":"2022-06-28T06:52:20.505Z","created":"2014-01-15T12:36:03.043Z","0.0.1":"2014-01-15T12:36:03.043Z","0.1.0":"2014-02-02T00:10:50.979Z","0.2.0":"2014-03-27T09:50:02.423Z","0.2.1":"2014-04-12T07:31:27.382Z","0.2.2":"2014-04-12T17:42:23.559Z","0.2.3":"2014-04-13T08:53:45.911Z","0.2.4":"2014-04-13T08:56:06.405Z","0.2.5":"2014-04-14T08:11:05.920Z","0.2.6":"2014-04-14T08:18:38.627Z","0.3.0":"2014-04-17T08:11:48.955Z","1.0.0":"2015-11-21T04:14:53.731Z","1.1.0":"2015-11-23T12:21:44.620Z","1.1.1":"2015-12-28T04:11:38.666Z","1.1.2":"2016-01-07T03:19:52.685Z","1.2.0":"2016-03-25T02:09:06.035Z","1.3.0":"2017-10-10T23:57:48.141Z","1.3.1":"2017-11-05T18:26:50.061Z","1.4.0":"2017-11-20T15:27:27.016Z","1.4.1":"2018-03-01T23:26:50.283Z","1.4.2":"2019-10-05T19:58:37.948Z","1.4.3":"2020-01-18T02:39:37.113Z","1.4.4":"2022-03-27T18:42:12.835Z"},"maintainers":[{"name":"jonkemp","email":"kempdogg@gmail.com"}],"dist-tags":{"latest":"1.4.4"},"description":"Parse build blocks in HTML files to replace references","readme":"# useref ![Build Status](https://github.com/jonkemp/useref/actions/workflows/main.yml/badge.svg?branch=master) [![Coverage Status](https://coveralls.io/repos/jonkemp/useref/badge.svg?branch=master&service=github)](https://coveralls.io/github/jonkemp/useref?branch=master)\n\n[![NPM](https://nodei.co/npm/useref.png?downloads=true)](https://nodei.co/npm/useref/)\n\n> Parse build blocks in HTML files to replace references\n\nExtracted from the grunt plugin [grunt-useref](https://github.com/pajtai/grunt-useref).\n\n## Installation\n\n```\nnpm install useref\n```\n\n## Usage\n\n```js\nvar useref = require('useref');\nvar result = useref(inputHtml);\n// result = [ replacedHtml, { type: { path: { 'assets': [ replacedFiles] }}} ]\n```\n\n\nBlocks are expressed as:\n\n```html\n<!-- build:<type>(alternate search path) <path> <parameters> -->\n... HTML Markup, list of script / link tags.\n<!-- endbuild -->\n```\n\n- **type**: either `js`, `css` or `remove`\n- **alternate search path**: (optional) By default the input files are relative to the treated file. Alternate search path allows one to change that\n- **path**: the file path of the optimized file, the target output\n- **parameters**: extra parameters that should be added to the tag. By default `rel=\"stylesheet\"` attribute is added to css link tag, your can overwrite it by passing your own rel parameter, e.g. `rel=\"preload\"`\n\nAn example of this in completed form can be seen below:\n\n```html\n<html>\n<head>\n  <!-- build:css css/combined.css -->\n  <link href=\"css/one.css\" rel=\"stylesheet\">\n  <link href=\"css/two.css\" rel=\"stylesheet\">\n  <!-- endbuild -->\n</head>\n<body>\n  <!-- build:js scripts/combined.js -->\n  <script type=\"text/javascript\" src=\"scripts/one.js\"></script>\n  <script type=\"text/javascript\" src=\"scripts/two.js\"></script>\n  <!-- endbuild -->\n\n  <!-- build:js scripts/async.js async data-foo=\"bar\" -->\n  <script type=\"text/javascript\" src=\"scripts/three.js\"></script>\n  <script type=\"text/javascript\" src=\"scripts/four.js\"></script>\n  <!-- endbuild -->\n</body>\n</html>\n```\n\nThe module would be used with the above sample HTML as follows:\n\n```js\nvar result = useref(sampleHtml);\n\n// [\n//   resultHtml,\n//   {\n//     css: {\n//       'css/combined.css': {\n//         'assets': [ 'css/one.css', 'css/two.css' ]\n//       }\n//     },\n//     js: {\n//       'scripts/combined.js': {\n//         'assets': [ 'scripts/one.js', 'scripts/two.js' ]\n//       },\n//       'scripts/async.js': {\n//          'assets': [ 'scripts/three.js', 'scripts/four.js' ]\n//        }\n//     }\n//   }\n// ]\n```\n\n\nThe resulting HTML would be:\n\n```html\n<html>\n<head>\n  <link rel=\"stylesheet\" href=\"css/combined.css\"/>\n</head>\n<body>\n  <script src=\"scripts/combined.js\"></script>\n  <script src=\"scripts/async.js\" async data-foo=\"bar\" ></script>\n</body>\n</html>\n```\n\n## IE Conditional Comments\n\nInternet Explorer Conditional Comments are preserved. The code below:\n\n```html\n<!-- build:js scripts/combined.js   -->\n<!--[if lt IE 9]>\n<script type=\"text/javascript\" src=\"scripts/this.js\"></script>\n<script type=\"text/javascript\" src=\"scripts/that.js\"></script>\n<![endif]-->\n<!-- endbuild -->\n```\n\nResults in:\n\n```html\n<!--[if lt IE 9]>\n<script src=\"scripts/combined.js\"></script>\n<![endif]-->\n```\n\n### Custom blocks\n\nSometimes you need a bit more. If you would like to do custom processing, this is possible with a custom block, as demonstrated below.\n\n```html\n<!-- build:import components -->\n<link rel=\"import\" href=\"/bower_components/some/path\"></link>\n<!-- endbuild -->\n```\n\nWith\n\n```js\nvar useref = require('useref');\nvar result = useref(inputHtml, {\n  // each property corresponds to any blocks with the same name, e.g. \"build:import\"\n  import: function (content, target, options, alternateSearchPath) {\n    // do something with `content` and return the desired HTML to replace the block content\n    return content.replace('bower_components', target);\n  }\n});\n```\n\nBecomes\n\n```html\n<link rel=\"import\" href=\"/components/some/path\"></link>\n```\n\nThe handler function gets the following arguments:\n\n- *content* (String): The content of the custom use block\n- *target* (String): The \"path\" value of the use block definition\n- *options* (String): The extra attributes from the use block definition, the developer can parse as JSON or do whatever they want with it\n- *alternateSearchPath* (String): The alternate search path that can be used to maintain a coherent interface with standard handlers\n\nInclude a handler for each custom block type.\n\n### Symfony Twig and Laravel 5 Blade assets\n\nWorks with the [symfony2 assetic](http://symfony.com/doc/current/cookbook/assetic/asset_management.html) and [laravel asset](https://laravel.com/docs/5.1/helpers#method-asset) and [elixir](https://laravel.com/docs/5.2/elixir#versioning-and-cache-busting) links in twig or blade or html or php.\n\n```html\n<!-- build:js scripts/combined.js -->\n<script src=\"{{ asset('symfony/js/script.js') }}\"></script>\n<script src=\"{{ elixir('laravel/js/script.js') }}\"></script>\n<!-- endbuild -->\n```\n\n### Options\n\n#### options.noconcat\n\nType: `Boolean`  \nDefault: `false`\n\nStrips out build comments but leaves the rest of the block intact without replacing any tags.\n\n```html\n<!-- build:js scripts/combined.js   -->\n<script type=\"text/javascript\" src=\"scripts/this.js\"></script>\n<script type=\"text/javascript\" src=\"scripts/that.js\"></script>\n<!-- endbuild -->\n```\n\nResults in:\n\n```html\n<script type=\"text/javascript\" src=\"scripts/this.js\"></script>\n<script type=\"text/javascript\" src=\"scripts/that.js\"></script>\n```\n\n#### options.parseSourcePath\n\nType: `Function`\nReturn: The path to the source file\n\nFunction to parse the source path out of a script or style element.\n\nThe function gets the following arguments:\n- *tag* (String): The html script or style tag\n- *type*: (String): The type e.g. `js`, `css`\n\n#### options.transformTargetPath\n\nType: `Function`\nReturn: The transformed path to the target file\n\nFunction to transform the target file path.\n\nThe function gets the following arguments:\n\n- *target* (String): The path to the target file\n- *type*: (String): The type e.g. `js`, `css`\n\n## Contributing\n\nSee the [CONTRIBUTING Guidelines](https://github.com/jonkemp/useref/blob/master/CONTRIBUTING.md)\n\n## License\n\nMIT © [Jonathan Kemp](http://jonkemp.com)\n","versions":{"1.0.0":{"name":"useref","version":"1.0.0","description":"Parse build blocks in HTML files to replace references","main":"index.js","directories":{"test":"test"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["build","blocks","build","comments","replace","scripts","link","ref"],"author":{"name":"Jonathan Kemp","email":"kempdogg@gmail.com","url":"http://jonkemp.com/"},"license":"MIT","devDependencies":{"chai":"^3.4.1","mocha":"*"},"repository":{"type":"git","url":"git+https://github.com/jonkemp/useref.git"},"gitHead":"8885c40a237c9540d1c89511b768c6ff4307423c","bugs":{"url":"https://github.com/jonkemp/useref/issues"},"homepage":"https://github.com/jonkemp/useref#readme","_id":"useref@1.0.0","_shasum":"53554fe73ea55b6a87022f82d5c8ee51a7e46fbf","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"jonkemp","email":"kempdogg@gmail.com"},"maintainers":[{"name":"jonkemp","email":"kempdogg@gmail.com"}],"dist":{"shasum":"53554fe73ea55b6a87022f82d5c8ee51a7e46fbf","tarball":"https://registry.npmjs.org/useref/-/useref-1.0.0.tgz","integrity":"sha512-ngIjqMdViBQjeCOqVIqXzt76umpxuXUxscts025wnUM/r3pM6qF7LVYGdq2O8shB3LRVjNan4In+t1m83igLIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFiRVybKO3ZAYShdUkkzAC6yIqx0fXv3dCv1uOTW8wIjAiEA8Tw10C/SPqkYnH3UJHVnE4ihzwKLjFpz1v88/FDdrn8="}]}},"1.1.0":{"name":"useref","version":"1.1.0","description":"Parse build blocks in HTML files to replace references","main":"index.js","directories":{"test":"test"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","coverage":"nyc npm test && nyc report","coveralls":"nyc npm test && nyc report --reporter=text-lcov | coveralls"},"files":["index.js"],"keywords":["build","blocks","build","comments","replace","scripts","link","ref"],"author":{"name":"Jonathan Kemp","email":"kempdogg@gmail.com","url":"http://jonkemp.com/"},"license":"MIT","devDependencies":{"chai":"^3.4.1","coveralls":"^2.11.4","mocha":"*","nyc":"^3.2.2"},"repository":{"type":"git","url":"git+https://github.com/jonkemp/useref.git"},"gitHead":"2d7c2db5053df68b755f71c5607466438c3867e6","bugs":{"url":"https://github.com/jonkemp/useref/issues"},"homepage":"https://github.com/jonkemp/useref#readme","_id":"useref@1.1.0","_shasum":"c891815c6e1a946a94a99c2569aba642f1893c49","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"jonkemp","email":"kempdogg@gmail.com"},"maintainers":[{"name":"jonkemp","email":"kempdogg@gmail.com"}],"dist":{"shasum":"c891815c6e1a946a94a99c2569aba642f1893c49","tarball":"https://registry.npmjs.org/useref/-/useref-1.1.0.tgz","integrity":"sha512-0G2oi+3c0nQ5lPMvD+M67ple9TcCBeO0HQLIQHyytgzd43pts3ecosNrNWZpkEIqINBRmQrKW7Qi0JPjVwjKkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOjBGVLMcy9Rntjn1lSog/Ys5ZcctLKFLgJfIYPFBY7QIgfirHehB3woxqtw9LTRsJsXHASzOgLQWBi8wAmMuQXHg="}]}},"1.1.1":{"name":"useref","version":"1.1.1","description":"Parse build blocks in HTML files to replace references","main":"index.js","directories":{"test":"test"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","coverage":"nyc npm test && nyc report","coveralls":"nyc npm test && nyc report --reporter=text-lcov | coveralls"},"files":["index.js"],"keywords":["build","blocks","build","comments","replace","scripts","link","ref"],"author":{"name":"Jonathan Kemp","email":"kempdogg@gmail.com","url":"http://jonkemp.com/"},"license":"MIT","devDependencies":{"chai":"^3.4.1","coveralls":"^2.11.4","gulp":"^3.9.0","gulp-eslint":"^1.1.1","gulp-mocha":"^2.2.0","mocha":"*","nyc":"^3.2.2"},"repository":{"type":"git","url":"git+https://github.com/jonkemp/useref.git"},"gitHead":"11ab8ad3b50e6f4a71917502221c480e446df66d","bugs":{"url":"https://github.com/jonkemp/useref/issues"},"homepage":"https://github.com/jonkemp/useref#readme","_id":"useref@1.1.1","_shasum":"e19cb68ee5ac167fde6885448f1f871578c78bb1","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"jonkemp","email":"kempdogg@gmail.com"},"maintainers":[{"name":"jonkemp","email":"kempdogg@gmail.com"}],"dist":{"shasum":"e19cb68ee5ac167fde6885448f1f871578c78bb1","tarball":"https://registry.npmjs.org/useref/-/useref-1.1.1.tgz","integrity":"sha512-dQKL5izUMj7Kq3uT7wW8iKcVEpc1iTNRXhSfd3M2Tt7kIkTy5HljwJSIWlkNxsfW+yM7sH9hhwH8k3oEqt51Sg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDSTUKFVMggJmIrIqvRZp8bOsZ5wMjapJOSjJ9pjVoJKAiAEj5+cEQrJ5l5y7ZrDURTO+ApqjTqCsk7k6d/hjfCokw=="}]}},"1.1.2":{"name":"useref","version":"1.1.2","description":"Parse build blocks in HTML files to replace references","main":"index.js","directories":{"test":"test"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","coverage":"nyc npm test && nyc report","coveralls":"nyc npm test && nyc report --reporter=text-lcov | coveralls"},"files":["index.js","lib"],"keywords":["build","blocks","build","comments","replace","scripts","link","ref"],"author":{"name":"Jonathan Kemp","email":"kempdogg@gmail.com","url":"http://jonkemp.com/"},"license":"MIT","devDependencies":{"chai":"^3.4.1","coveralls":"^2.11.4","gulp":"^3.9.0","gulp-eslint":"^1.1.1","gulp-mocha":"^2.2.0","mocha":"*","nyc":"^3.2.2"},"repository":{"type":"git","url":"git+https://github.com/jonkemp/useref.git"},"gitHead":"6bd1ea3b76143bc5949f42d362cfa66b53919b71","bugs":{"url":"https://github.com/jonkemp/useref/issues"},"homepage":"https://github.com/jonkemp/useref#readme","_id":"useref@1.1.2","_shasum":"9ceed6999a451851bf9b0779623df1994b1b44b9","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"jonkemp","email":"kempdogg@gmail.com"},"maintainers":[{"name":"jonkemp","email":"kempdogg@gmail.com"}],"dist":{"shasum":"9ceed6999a451851bf9b0779623df1994b1b44b9","tarball":"https://registry.npmjs.org/useref/-/useref-1.1.2.tgz","integrity":"sha512-uwxjr8Zsyo3f5SD+CgdkP86NtUVLuKmLKkEhIa78jyZXVbMneez2uQ5+KITxVvTkmmBGA1Ji8UnTv/FISUQxIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBwYMd6/0JAO6bjBpzjCkQx3kZIpNANJQHKhTHn152nFAiB3ayDKDo1NWm8RFR7GrdOwvoCHY2eNsgc7e/62vKhUDw=="}]}},"1.2.0":{"name":"useref","version":"1.2.0","description":"Parse build blocks in HTML files to replace references","main":"index.js","directories":{"test":"test"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","coverage":"nyc npm test && nyc report","coveralls":"nyc npm test && nyc report --reporter=text-lcov | coveralls"},"files":["index.js","lib"],"keywords":["build","blocks","build","comments","replace","scripts","link","ref"],"author":{"name":"Jonathan Kemp","email":"kempdogg@gmail.com","url":"http://jonkemp.com/"},"license":"MIT","devDependencies":{"chai":"^3.4.1","coveralls":"^2.11.4","gulp":"^3.9.0","gulp-eslint":"^1.1.1","gulp-mocha":"^2.2.0","mocha":"*","nyc":"^3.2.2"},"repository":{"type":"git","url":"git+https://github.com/jonkemp/useref.git"},"gitHead":"517bcc4f3e1fa566b45bd59b493de1e7a4523a1e","bugs":{"url":"https://github.com/jonkemp/useref/issues"},"homepage":"https://github.com/jonkemp/useref#readme","_id":"useref@1.2.0","_shasum":"7a9d7beedbce9845cb0d1438c05b3a0fb8621d22","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"jonkemp","email":"kempdogg@gmail.com"},"maintainers":[{"name":"jonkemp","email":"kempdogg@gmail.com"}],"dist":{"shasum":"7a9d7beedbce9845cb0d1438c05b3a0fb8621d22","tarball":"https://registry.npmjs.org/useref/-/useref-1.2.0.tgz","integrity":"sha512-0IivprAnqcXckxbxcVE2+dKoeBfrs2130UJltU6Fh5GD+ZM+xG0RNJZctvxG6MSr3k361ugRwVRxvBubrQzxAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOpF+Fj+LBPGjmxhjzNtenI+Ln2PuoxLrpxUUCkDz/sAIhANdO9FqZK9gTgd8yMyWlvbk3crWrQqQ80oxWUgMnRi8W"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/useref-1.2.0.tgz_1458871743488_0.7934010392054915"}},"1.3.0":{"name":"useref","version":"1.3.0","description":"Parse build blocks in HTML files to replace references","main":"index.js","directories":{"test":"test"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","coverage":"nyc npm test && nyc report","coveralls":"nyc npm test && nyc report --reporter=text-lcov | coveralls"},"files":["index.js","lib"],"keywords":["build","blocks","build","comments","replace","scripts","link","ref"],"author":{"name":"Jonathan Kemp","email":"kempdogg@gmail.com","url":"http://jonkemp.com/"},"license":"MIT","devDependencies":{"chai":"^3.4.1","coveralls":"^2.11.4","gulp":"^3.9.0","gulp-eslint":"^3.0.1","gulp-mocha":"^3.0.1","mocha":"*","nyc":"^8.1.0"},"repository":{"type":"git","url":"git+https://github.com/jonkemp/useref.git"},"gitHead":"d2626f4c90d5698c53ea59f01db8e9d17dc27fbf","bugs":{"url":"https://github.com/jonkemp/useref/issues"},"homepage":"https://github.com/jonkemp/useref#readme","_id":"useref@1.3.0","_shasum":"3bdaedd47c708364d55cde444a2cced08e16e6b2","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.0","_npmUser":{"name":"jonkemp","email":"kempdogg@gmail.com"},"dist":{"shasum":"3bdaedd47c708364d55cde444a2cced08e16e6b2","tarball":"https://registry.npmjs.org/useref/-/useref-1.3.0.tgz","integrity":"sha512-U2U9Z/MipiNgBXpA68XajSx5UOE2GTCz6mzFp/D6oJ6/QaHXLHl/IQY7sQ+jnYFcdpGOObK4XyJ6gInynkVwPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCUngLGLfjdtYAxxqoRWF0K/f1Dz7gdey44/W2AQ59TgIhAJEq+TIuL5Rx4y+NESySnzDrByKR98sKXPgjZC8B6uRS"}]},"maintainers":[{"name":"jonkemp","email":"kempdogg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/useref-1.3.0.tgz_1507679867183_0.3268908807076514"}},"1.3.1":{"name":"useref","version":"1.3.1","description":"Parse build blocks in HTML files to replace references","main":"index.js","directories":{"test":"test"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","coverage":"nyc npm test && nyc report","coveralls":"nyc npm test && nyc report --reporter=text-lcov | coveralls"},"files":["index.js","lib"],"keywords":["build","blocks","build","comments","replace","scripts","link","ref"],"author":{"name":"Jonathan Kemp","email":"kempdogg@gmail.com","url":"http://jonkemp.com/"},"license":"MIT","devDependencies":{"chai":"^4.1.2","coveralls":"^3.0.0","gulp":"^3.9.0","gulp-eslint":"^4.0.0","gulp-mocha":"^4.3.1","mocha":"*","nyc":"^11.3.0"},"repository":{"type":"git","url":"git+https://github.com/jonkemp/useref.git"},"gitHead":"427a450712d7226860abd92053247f8d2017ebb2","bugs":{"url":"https://github.com/jonkemp/useref/issues"},"homepage":"https://github.com/jonkemp/useref#readme","_id":"useref@1.3.1","_npmVersion":"5.5.1","_nodeVersion":"6.11.0","_npmUser":{"name":"jonkemp","email":"kempdogg@gmail.com"},"dist":{"integrity":"sha512-5+61Xp200/u7GzUkSCAYutTu77FwqavZC9XR8VwVD9K9yxjyKAWyloYZU4JtQkNrLu7XTSwtboAy9q03oI9CbA==","shasum":"f29b7342797cb9adcdf150614135b3049bdfa2fb","tarball":"https://registry.npmjs.org/useref/-/useref-1.3.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFutWdkc918rDRl0tG07wsMBxEJjlpgZbJMeT69JMsGYAiEA+CjN6JAVCMVmw+ymLed1Ylmvkx674OZm7IK7qP2PUf0="}]},"maintainers":[{"name":"jonkemp","email":"kempdogg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/useref-1.3.1.tgz_1509906410000_0.24479362717829645"}},"1.4.0":{"name":"useref","version":"1.4.0","description":"Parse build blocks in HTML files to replace references","main":"index.js","directories":{"test":"test"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","coverage":"nyc npm test && nyc report","coveralls":"nyc npm test && nyc report --reporter=text-lcov | coveralls"},"files":["index.js","lib"],"keywords":["build","blocks","build","comments","replace","scripts","link","ref"],"author":{"name":"Jonathan Kemp","email":"kempdogg@gmail.com","url":"http://jonkemp.com/"},"license":"MIT","devDependencies":{"chai":"^4.1.2","coveralls":"^3.0.0","gulp":"^3.9.0","gulp-eslint":"^4.0.0","gulp-mocha":"^4.3.1","mocha":"*","nyc":"^11.3.0"},"repository":{"type":"git","url":"git+https://github.com/jonkemp/useref.git"},"gitHead":"dda3ee057eb48a625318a43ce961baa3b051acbb","bugs":{"url":"https://github.com/jonkemp/useref/issues"},"homepage":"https://github.com/jonkemp/useref#readme","_id":"useref@1.4.0","_npmVersion":"5.5.1","_nodeVersion":"6.11.0","_npmUser":{"name":"jonkemp","email":"kempdogg@gmail.com"},"dist":{"integrity":"sha512-ri8OzKh7dW7hP9tF2ONKEDJZfHxITwXylM5jMczsc2IVAQ8Mt/RzNsuF7iv9rLcNpeabQl0v8igZqp13GqVa4A==","shasum":"fd57b19a7a68af2f954515c386b3d73018539129","tarball":"https://registry.npmjs.org/useref/-/useref-1.4.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEW5p0VCKMpzs/zl8MLxGJJ3yZ5lkW6q3OfQc0cm3AygIgDW4COAzDTpZ6nxacJ9yzLSPm63EzMCUm5nISbH0nsNU="}]},"maintainers":[{"name":"jonkemp","email":"kempdogg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/useref-1.4.0.tgz_1511191646012_0.4010092706885189"}},"1.4.1":{"name":"useref","version":"1.4.1","description":"Parse build blocks in HTML files to replace references","main":"index.js","engines":{"node":">=4"},"scripts":{"test":"mocha","coverage":"nyc npm test && nyc report","coveralls":"nyc npm test && nyc report --reporter=text-lcov | coveralls"},"files":["index.js","lib"],"keywords":["build","blocks","build","comments","replace","scripts","link","ref"],"author":{"name":"Jonathan Kemp","email":"kempdogg@gmail.com","url":"http://jonkemp.com/"},"license":"MIT","devDependencies":{"chai":"^4.1.2","coveralls":"^3.0.0","gulp":"^3.9.0","gulp-eslint":"^4.0.0","gulp-mocha":"^4.3.1","mocha":"*","nyc":"^11.3.0"},"repository":{"type":"git","url":"https://github.com/jonkemp/useref.git"},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2015 Jonathan Kemp\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"useref@1.4.1","dist":{"shasum":"02dabad10b1a85025d964252fca31b805931ad7d","tarball":"https://registry.npmjs.org/useref/-/useref-1.4.1.tgz","fileCount":13,"unpackedSize":17408,"integrity":"sha512-20Nh64KiTITOJz4IsN+C47g8mGcV+MyCcCoZfoMWVZ7EcIIO3xbC24ETqtEkpOhjbgX6NAuNYAW9OGg1CNMaAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaRIENYMql1iadTj2JbAwBGt+U3J+LeXn2Ta2zvT9NlQIhAI2fWsh6eGKzHJzIICaggjB3aNeXzKEPAGVIG6YHEDgY"}]},"maintainers":[{"name":"jonkemp","email":"kempdogg@gmail.com"}],"_npmUser":{"name":"jonkemp","email":"kempdogg@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/useref_1.4.1_1519946810229_0.653167263005711"},"_hasShrinkwrap":false},"1.4.2":{"name":"useref","version":"1.4.2","description":"Parse build blocks in HTML files to replace references","main":"index.js","directories":{"test":"test"},"engines":{"node":">=4"},"scripts":{"test":"mocha","coverage":"nyc npm test && nyc report","coveralls":"nyc npm test && nyc report --reporter=text-lcov | coveralls"},"keywords":["build","blocks","build","comments","replace","scripts","link","ref"],"author":{"name":"Jonathan Kemp","email":"kempdogg@gmail.com","url":"http://jonkemp.com/"},"license":"MIT","devDependencies":{"chai":"^4.2.0","coveralls":"^3.0.6","gulp":"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2","mocha":"*","nyc":"^14.1.1"},"repository":{"type":"git","url":"git+https://github.com/jonkemp/useref.git"},"gitHead":"83c0ac69e54e79be79691cd3577344c5afdefe39","bugs":{"url":"https://github.com/jonkemp/useref/issues"},"homepage":"https://github.com/jonkemp/useref#readme","_id":"useref@1.4.2","_nodeVersion":"10.16.1","_npmVersion":"6.11.3","dist":{"integrity":"sha512-RpyHxbZANGkh/y+E8sLR/2SmXLI11a71GLhtMa4pU7Y8cX10wCBKfu5AYxerRf0fJ8TTNpOAJfE7QIsQJNlEmQ==","shasum":"542396fe7fa11a1b9fe982feb7ae3428f0e535b4","tarball":"https://registry.npmjs.org/useref/-/useref-1.4.2.tgz","fileCount":11,"unpackedSize":17408,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmPXuCRA9TVsSAnZWagAAVMQP/inltcfr2kBMB+bapkDY\nTT6V3U9As/ze5tEiabyZ0gzPlCykoxfftKOJ7qkNCfcjUZSjrJvmgkOoUvZU\nHlEI2xIuo/e88NYVi6jKpt4De1TGyOC0qL9ml8siUesutsjbFgmCC6M96GAI\nOdP8f8ZUR4TpaJXT1KvQYAjrKgYUnqASI+h6CvOG5GeH/ojZfOqZ2aip8bBC\nxNYw6996skXxyCPk8Fur4iZdy/GLbEAu9zoyJ6AYgKG8Qd2q30aCQVR2B2WX\nQ/6YyxpBBPrBo0XUYW27ECBUZo/lZPZ22cJRhYGbVJBgMRhTZh0303QeJp2H\n0kF/1dK3qLmr3hkZvLGb4QoAOpUR9+ft074lx/B6eRUW1JJPI++EyEebXV4R\ntC09H5P5A5m//Twpt8VBPfrAFEb++QYowmaaBg+9mpq410VlN25JwHWTwgWG\nXwaOs27coy+NMvKLMBJCeQqreR1vX7Hw3CByWZ4ViPxUspgpQywwXlioviOj\nIAmvFeZneThcEFlAmrxOJa5UnXuBY4Ray3xkn4QNifIma9niGfLWc3CyGA+z\nMoeConiErFUhtWQUGUihe2hQJ2zvnMV6lejxzJb5GBnGwzJNCS5Kh/+44Pt0\n+KlCP6Fe/5BdKq3WZ1elyqD9OXzh73gihvnoxuAqqpHqQXdzf+7jUUdL0iQW\n3QJC\r\n=y6Zw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtAuOyJ7KjiQGs0zgIm2hdOTR6FY+ij8Lf24iLaPt4mQIhAIP04DtKg85jKua75B+IAVurkERU72EUX+mrDnkPlwbL"}]},"maintainers":[{"name":"jonkemp","email":"kempdogg@gmail.com"}],"_npmUser":{"name":"jonkemp","email":"kempdogg@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/useref_1.4.2_1570305517792_0.3459609763310243"},"_hasShrinkwrap":false},"1.4.3":{"name":"useref","version":"1.4.3","description":"Parse build blocks in HTML files to replace references","main":"index.js","directories":{"test":"test"},"engines":{"node":">=4"},"scripts":{"test":"mocha","coverage":"nyc npm test && nyc report","coveralls":"nyc npm test && nyc report --reporter=text-lcov | coveralls"},"keywords":["build","blocks","build","comments","replace","scripts","link","ref"],"author":{"name":"Jonathan Kemp","email":"kempdogg@gmail.com","url":"http://jonkemp.com/"},"license":"MIT","devDependencies":{"babel-eslint":"^10.0.3","chai":"^4.2.0","coveralls":"^3.0.9","gulp":"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2","mocha":"*","nyc":"^15.0.0"},"repository":{"type":"git","url":"git+https://github.com/jonkemp/useref.git"},"gitHead":"56f744e5e1d2d36c2f760760ca9975d4d9467f2b","bugs":{"url":"https://github.com/jonkemp/useref/issues"},"homepage":"https://github.com/jonkemp/useref#readme","_id":"useref@1.4.3","_nodeVersion":"10.16.1","_npmVersion":"6.11.3","dist":{"integrity":"sha512-hX0qTEaDdzO3WfFl2KHQnSdaPSk8KqRaQ/nXXjBPrXzanew+12U/gm/Jt7zR978wtKMryOMXGoF0+qhYL2oseQ==","shasum":"0859f9d55b205b7d5639810c34d1cdd37d254e88","tarball":"https://registry.npmjs.org/useref/-/useref-1.4.3.tgz","fileCount":11,"unpackedSize":17228,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIm/pCRA9TVsSAnZWagAA0YsP/0KB7a9cduBsCteLbfgM\ny098T23rPPu6K0nKFIyBiJDPFYjTZNbATwA5VbWV7ts8ePKtSA4EyX+pd5az\n46rya+g9Rfyc0etTcoUqaRs111JU620PGz6mqz7w3YwCeLHqjo/RNMuJvCkA\n3CJ/QODZhiY0Dd/aJzdcxurWaoIBTudrhfzTbp3rUamhUfvNwA7iclZk3QCd\ndIP6LmUzixTra72LT4Jt+9C3pBf8ItLzOFRZK8/5Kv5eCSWBZc3lUdei4xef\n3nuqYIxJTjzZI+YG+FVxxqq6XxTtLYHV264Rp9dNh5TxRORCVmAfKlTvDGCX\nQ6urGgcm8baJM0Z4jlrO4oQEr1p/H+b4akYieRcjEOIQQHTu6IADYNe59TV1\nhV+y9RcD35tJ9nDVZql4HnnkQ2D4qmc3AC9FvoZVzxdFX9EX8UJSrq8A6UlO\n5iEhbLhQ6WGiSlcaHwVYcGCgj0WH0KqN9OJrEKCctDOpYpaNdz1EH9QTL/vJ\nKGyF39KzL3QlP6yuO5SLVJ56lDmBY4OLkhTRoprvhZkNiA3hTMPejojjekam\nKZxkGE9dgn9xZT+gQijH469bWxWCqWdh7VDsrwZqgLP6k8EBsjzxRhxIgRrc\nccXvkwgo58vbFBrdUzXbhguNHJB+bJbBatY0enQ3GgV4JilCVGJR4/eyBD4I\nZLra\r\n=wggl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB5qkP/3B83VVDzuRhU364JErFlWk07V0xqfRzs1t0VKAiEA2ARAcnT0T+fghYdeoKKltm+G3kmLRoManoLQKegIs/0="}]},"maintainers":[{"name":"jonkemp","email":"kempdogg@gmail.com"}],"_npmUser":{"name":"jonkemp","email":"kempdogg@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/useref_1.4.3_1579315176989_0.5784419581030866"},"_hasShrinkwrap":false},"1.4.4":{"name":"useref","version":"1.4.4","description":"Parse build blocks in HTML files to replace references","main":"index.js","directories":{"test":"test"},"engines":{"node":">=4"},"scripts":{"test":"mocha","coverage":"nyc npm test && nyc report","coveralls":"nyc npm test && nyc report --reporter=lcov"},"keywords":["build","blocks","build","comments","replace","scripts","link","ref"],"author":{"name":"Jonathan Kemp","email":"kempdogg@gmail.com","url":"http://jonkemp.com/"},"license":"MIT","devDependencies":{"babel-eslint":"^10.0.3","chai":"^4.3.4","coveralls":"^3.1.1","gulp":"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^8.0.0","mocha":"*","nyc":"^15.1.0"},"repository":{"type":"git","url":"git+https://github.com/jonkemp/useref.git"},"gitHead":"fbfe7bd86a08137d4520d4b3a360f9529ed5d810","bugs":{"url":"https://github.com/jonkemp/useref/issues"},"homepage":"https://github.com/jonkemp/useref#readme","_id":"useref@1.4.4","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-Hcr9SSq1OsLSa9VAVtA28j8HrpFB2AdbRAkFPbBArDe6y54jQmgulQRxphdi5TAjVPj0mmEJfjBUuZArsmfsqQ==","shasum":"fb32138982d69b38e7757779235f1dd80a2517fd","tarball":"https://registry.npmjs.org/useref/-/useref-1.4.4.tgz","fileCount":11,"unpackedSize":17201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQLAEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNHA/+L2sQPDunKzFes/jgvQFZkUsiHws9pPVBn0F0MEZcAYQ6Y3KR\r\n418eEMU1aU/vBo7GlkLgL5CIiIVraBeh/5ZntNx1t/RHtoamEtA/5EYHpL7L\r\nTO5Ng7NRNCQyLaBs0MrY+al9uPXLcoOmIBsdYdkiJyOpBO1ZFAXe6T2Q2g44\r\nMQve/tc7P/z6GDMDLOYcP8qyNGtCLGlmL2PJAA1uIt2IEcdfusMsVcRi/aQe\r\nhziMRy0ZeLPLFM8TyI0+a90xwXZYE34mkv8CyiCtM7B24frA55LqOJUlghqm\r\n9wUy0K7E/pQivzkUxZ6Lv4GzmqcuwTiEowx2a6gqdivBJSPFgxHWIfhebkgS\r\n0y6yCmajazSWKeof8Kx0qRfAGH31ltY7PeMPS/35AHwPlVcw5yg2eQKlcWSx\r\nSn+i/xt9BMWnBr7TBPr5qfu/jkxpc6bJ1SlqeMfE//XwkAgue1UoY48TOaNd\r\n0qWBjXn/OweOTYVMCCJF6eLk5xl2mjmP8cnZ5PumyuoxH6wrBgc9aro6GdLn\r\nR8ZYKD31O7aN50vsju2aBdhXnVqOgrJ/0Pr2WinL+dZShyaj2UP5YR2+Ks9B\r\nC+OFZnw+8xwR/9swUzdPhCZ3aYdsNTfMn0VxmmfQRaKvBGZlEYEWEThvUVzP\r\nXkLiQXVrZibQXWuzuqd/FeEEm+X8rf6+WeM=\r\n=ijM6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcRl/YwOIMH3UEi61r8XDXepqJYAqrBrmjg7dG9rxWRQIgAIqAhVSbB1Bjs4Ypkv8N7ifQlBMxkPpym6Cqj61jYwg="}]},"_npmUser":{"name":"jonkemp","email":"kempdogg@gmail.com"},"maintainers":[{"name":"jonkemp","email":"kempdogg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/useref_1.4.4_1648406532652_0.2759468330134549"},"_hasShrinkwrap":false}},"keywords":["build","blocks","build","comments","replace","scripts","link","ref"],"repository":{"type":"git","url":"git+https://github.com/jonkemp/useref.git"},"author":{"name":"Jonathan Kemp","email":"kempdogg@gmail.com","url":"http://jonkemp.com/"},"license":"MIT","readmeFilename":"README.md","users":{"rubiadias":true,"dockawash":true,"gggauravgandhi":true,"princetoad":true},"homepage":"https://github.com/jonkemp/useref#readme","bugs":{"url":"https://github.com/jonkemp/useref/issues"}}