{"_id":"gulp-ng-html2js","_rev":"38-dd011fe80b4119be9d5e982cf1c16b41","name":"gulp-ng-html2js","description":"A Gulp plugin which generates AngularJS modules, which pre-load your HTML code into the $templateCache. This way AngularJS doesn't need to request the actual HTML files anymore.","dist-tags":{"latest":"0.2.3"},"versions":{"0.1.0":{"name":"gulp-ng-html2js","version":"0.1.0","description":"A Gulp plugin which generates Javascript code which loads the HTML files of your AngularJS app into the $templateCache.","keywords":["gulpplugin","ng-html2js","angular","html2js","angularjs"],"homepage":"https://github.com/marklagendijk/gulp-ng-html2js","bugs":{"url":"https://github.com/marklagendijk/gulp-ng-html2js/issues"},"author":{"name":"Mark Lagendijk","email":"mark@lagendijk.info","url":"https://github.com/marklagendijk"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/marklagendijk/gulp-ng-html2js.git"},"scripts":{"test":"mocha"},"dependencies":{"event-stream":"*"},"devDependencies":{"mocha":"~1.14.0","should":"~2.1.0","gulp-util":"~2.2.0"},"engines":{"node":">=0.8.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"_id":"gulp-ng-html2js@0.1.0","dist":{"shasum":"175305dbc06fd204d8939a393941a8392f822381","tarball":"https://registry.npmjs.org/gulp-ng-html2js/-/gulp-ng-html2js-0.1.0.tgz","integrity":"sha512-F2odLWBhb/YEsCG9ZC3+cT36kzUQqrwybvbi0PjYNc+hLf3MhHKvIgqnZwVj9p+jrfxYLxVd9GA8t47IxJc6nw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/entRX7XA56MrnjXNPr/55ZZePZI611EOFuXSOW3cIQIhAPkRb7tD06AmCm+eYuWy2X8fIjh8RrNaq7/CKlxNItgM"}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"marklagendijk","email":"mark@lagendijk.info"},"maintainers":[{"name":"marklagendijk","email":"mark@lagendijk.info"}],"directories":{}},"0.1.1":{"name":"gulp-ng-html2js","version":"0.1.1","description":"A Gulp plugin which generates Javascript code which loads the HTML files of your AngularJS app into the $templateCache.","keywords":["gulpplugin","ng-html2js","angular","html2js","angularjs"],"homepage":"https://github.com/marklagendijk/gulp-ng-html2js","bugs":{"url":"https://github.com/marklagendijk/gulp-ng-html2js/issues"},"author":{"name":"Mark Lagendijk","email":"mark@lagendijk.info","url":"https://github.com/marklagendijk"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/marklagendijk/gulp-ng-html2js.git"},"scripts":{"test":"mocha"},"dependencies":{"event-stream":"*"},"devDependencies":{"mocha":"~1.14.0","should":"~2.1.0","gulp-util":"~2.2.0"},"engines":{"node":">=0.8.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"_id":"gulp-ng-html2js@0.1.1","dist":{"shasum":"c3d70c74b3ba1ab0997fc5c62762705efa8efc7b","tarball":"https://registry.npmjs.org/gulp-ng-html2js/-/gulp-ng-html2js-0.1.1.tgz","integrity":"sha512-rIHT/iru6j5pOAYhSwVtyIw3NvOm6jY6gV6b3lRkONm/ApPrdEq/yGdWno0Mx+55puFt0L8hkPPPK2ziMe0K/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkQUeAwWrL6kv9uNdCtGTW7EiElOtUhvbjjFhRmyWUSQIhALAq4O0Y5APOD6EObTH71wyaUeNxS/67skPS9gQkjqE8"}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"marklagendijk","email":"mark@lagendijk.info"},"maintainers":[{"name":"marklagendijk","email":"mark@lagendijk.info"}],"directories":{}},"0.1.2":{"name":"gulp-ng-html2js","version":"0.1.2","description":"A Gulp plugin which generates AngularJS modules, which pre-load your HTML code into the $templateCache. This way AngularJS doens't need to request the actual HTML files anymore.","keywords":["gulpplugin","ng-html2js","angular","html2js","angularjs"],"homepage":"https://github.com/marklagendijk/gulp-ng-html2js","bugs":{"url":"https://github.com/marklagendijk/gulp-ng-html2js/issues"},"author":{"name":"Mark Lagendijk","email":"mark@lagendijk.info","url":"https://github.com/marklagendijk"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/marklagendijk/gulp-ng-html2js.git"},"scripts":{"test":"mocha"},"dependencies":{"event-stream":"*"},"devDependencies":{"mocha":"~1.14.0","should":"~2.1.0","gulp-util":"~2.2.0"},"engines":{"node":">=0.8.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"_id":"gulp-ng-html2js@0.1.2","dist":{"shasum":"2161ff6edd353fb915d20587f6b17cbc588b235f","tarball":"https://registry.npmjs.org/gulp-ng-html2js/-/gulp-ng-html2js-0.1.2.tgz","integrity":"sha512-uKnqCH6mxoHwHqp8pxczGeaNnO7fbZYs/ddUVduYQk+rEZDOcNDjb9CaVyOjX/Txw3f5jen7gZNSR3EPArt7YQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDiE2MlVStKsxSDsF40C755VD6mQiAMWte0DGYqjqyg0AiEAv1jo05+E76ImnrztFkZF6EWuCkCNpdFZtMnoFV/6ETY="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"marklagendijk","email":"mark@lagendijk.info"},"maintainers":[{"name":"marklagendijk","email":"mark@lagendijk.info"}],"directories":{}},"0.1.3":{"name":"gulp-ng-html2js","version":"0.1.3","description":"A Gulp plugin which generates AngularJS modules, which pre-load your HTML code into the $templateCache. This way AngularJS doens't need to request the actual HTML files anymore.","keywords":["gulpplugin","ng-html2js","angular","html2js","angularjs"],"homepage":"https://github.com/marklagendijk/gulp-ng-html2js","bugs":{"url":"https://github.com/marklagendijk/gulp-ng-html2js/issues"},"author":{"name":"Mark Lagendijk","email":"mark@lagendijk.info","url":"https://github.com/marklagendijk"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/marklagendijk/gulp-ng-html2js.git"},"scripts":{"test":"mocha"},"dependencies":{"event-stream":"*"},"devDependencies":{"mocha":"~1.14.0","should":"~2.1.0","gulp-util":"~2.2.0"},"engines":{"node":">=0.8.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"_id":"gulp-ng-html2js@0.1.3","dist":{"shasum":"49035a9711c14987a9c163fdfd84092ea271782f","tarball":"https://registry.npmjs.org/gulp-ng-html2js/-/gulp-ng-html2js-0.1.3.tgz","integrity":"sha512-c2HonkGDua/YRr14cV53L5eRguaNSNQ5AhKohE5qyVjJtJ0n8MHREczNateAAeyW3mEQ+ukyrQofeg621lpO9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJw+PNvQRsbvxoziX6Wuebb4huXEaA8z28u73SNJQIbwIgVE7R9yYZ8RpLSCb8dAWED8uq1go7NcnQC38VdxADN8Y="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"marklagendijk","email":"mark@lagendijk.info"},"maintainers":[{"name":"marklagendijk","email":"mark@lagendijk.info"}],"directories":{}},"0.1.4":{"name":"gulp-ng-html2js","version":"0.1.4","description":"A Gulp plugin which generates AngularJS modules, which pre-load your HTML code into the $templateCache. This way AngularJS doesn't need to request the actual HTML files anymore.","keywords":["gulpplugin","ng-html2js","angular","html2js","angularjs"],"homepage":"https://github.com/marklagendijk/gulp-ng-html2js","bugs":{"url":"https://github.com/marklagendijk/gulp-ng-html2js/issues"},"author":{"name":"Mark Lagendijk","email":"mark@lagendijk.info","url":"https://github.com/marklagendijk"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/marklagendijk/gulp-ng-html2js.git"},"scripts":{"test":"mocha"},"dependencies":{"gulp-util":"*","map-stream":"*"},"devDependencies":{"mocha":"~1.14.0","should":"~2.1.0","event-stream":"~3.0.20"},"engines":{"node":">=0.8.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"_id":"gulp-ng-html2js@0.1.4","dist":{"shasum":"258c7005269c672b6a34c0bc2876efddea30f752","tarball":"https://registry.npmjs.org/gulp-ng-html2js/-/gulp-ng-html2js-0.1.4.tgz","integrity":"sha512-4erdMb1L3RaiUxDHjnBqLbQ2LVGkHTvcWv+8gfS9mtfNWUfd1iOQwRewUsSHmq4mpRplPQIeJ6gSQvWaumiAkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGt/HCgiredTCtkIttxabUbzhUlhF2rqnZ4MXwMCNPEgIgOClnQ6epR+QOwg3wcEInK1BsW1P00A4BG4okoZJILIk="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"marklagendijk","email":"mark@lagendijk.info"},"maintainers":[{"name":"marklagendijk","email":"mark@lagendijk.info"}],"directories":{}},"0.1.6":{"name":"gulp-ng-html2js","version":"0.1.6","description":"A Gulp plugin which generates AngularJS modules, which pre-load your HTML code into the $templateCache. This way AngularJS doesn't need to request the actual HTML files anymore.","keywords":["gulpplugin","ng-html2js","angular","html2js","angularjs"],"homepage":"https://github.com/marklagendijk/gulp-ng-html2js","bugs":{"url":"https://github.com/marklagendijk/gulp-ng-html2js/issues"},"author":{"name":"Mark Lagendijk","email":"mark@lagendijk.info","url":"https://github.com/marklagendijk"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/marklagendijk/gulp-ng-html2js.git"},"scripts":{"test":"mocha"},"dependencies":{"gulp-util":"*","map-stream":"*"},"devDependencies":{"mocha":"~1.14.0","should":"~2.1.0","event-stream":"~3.0.20"},"engines":{"node":">=0.8.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"_id":"gulp-ng-html2js@0.1.6","dist":{"shasum":"964fdb8dfdae169007fc996094335a1631c0f67d","tarball":"https://registry.npmjs.org/gulp-ng-html2js/-/gulp-ng-html2js-0.1.6.tgz","integrity":"sha512-E8xAeG6hMKegjdtNQ7Y5J1YwB0l/KgHY6nijNX/MYVrJ/DPVHpks6WFI4z+JTqA3blnsncCyeWpKEqG4q15MtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHGFE9XTyCqnSFRaAgGMl//4ku1Ui9Qx6sBAfQG6vX6QAiEAoHUynQ7M9nTUpq2reNmJqxuxAhUNzY9CMol02NsAjJk="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"marklagendijk","email":"mark@lagendijk.info"},"maintainers":[{"name":"marklagendijk","email":"mark@lagendijk.info"}],"directories":{}},"0.1.7":{"name":"gulp-ng-html2js","version":"0.1.7","description":"A Gulp plugin which generates AngularJS modules, which pre-load your HTML code into the $templateCache. This way AngularJS doesn't need to request the actual HTML files anymore.","keywords":["gulpplugin","ng-html2js","angular","html2js","angularjs"],"homepage":"https://github.com/marklagendijk/gulp-ng-html2js","bugs":{"url":"https://github.com/marklagendijk/gulp-ng-html2js/issues"},"author":{"name":"Mark Lagendijk","email":"mark@lagendijk.info","url":"https://github.com/marklagendijk"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/marklagendijk/gulp-ng-html2js.git"},"scripts":{"test":"mocha"},"dependencies":{"gulp-util":"*","map-stream":"*"},"devDependencies":{"mocha":"~1.14.0","should":"~2.1.0","event-stream":"~3.0.20"},"engines":{"node":">=0.8.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"_id":"gulp-ng-html2js@0.1.7","dist":{"shasum":"9ae7e1dcfa512a3d1b834eec49b646b4eb95c60b","tarball":"https://registry.npmjs.org/gulp-ng-html2js/-/gulp-ng-html2js-0.1.7.tgz","integrity":"sha512-wZazPHOE0knWRCEcwbTH9A2mfjGnCawgQ5+UpGOjc6pNm+I7nm4B29jhF9omOuGYxjzk+uZbP2XIzMGVaUDbsw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrpX2IgGDFEIVlJTLND83GS2egcJjSVeSfGUH1qtNp1wIhAOIt9O+W9t6PrzhoB8rdiELtpC0cxSSrBVJbHFyikGrW"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"marklagendijk","email":"mark@lagendijk.info"},"maintainers":[{"name":"marklagendijk","email":"mark@lagendijk.info"}],"directories":{}},"0.1.8":{"name":"gulp-ng-html2js","version":"0.1.8","description":"A Gulp plugin which generates AngularJS modules, which pre-load your HTML code into the $templateCache. This way AngularJS doesn't need to request the actual HTML files anymore.","keywords":["gulpplugin","ng-html2js","angular","html2js","angularjs"],"homepage":"https://github.com/marklagendijk/gulp-ng-html2js","bugs":{"url":"https://github.com/marklagendijk/gulp-ng-html2js/issues"},"author":{"name":"Mark Lagendijk","email":"mark@lagendijk.info","url":"https://github.com/marklagendijk"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/marklagendijk/gulp-ng-html2js.git"},"scripts":{"test":"mocha"},"dependencies":{"gulp-util":"*","map-stream":"*"},"devDependencies":{"mocha":"~1.14.0","should":"~2.1.0","event-stream":"~3.0.20"},"engines":{"node":">=0.8.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"_id":"gulp-ng-html2js@0.1.8","dist":{"shasum":"e371a072531455a8518b7b304c58861a248ca50b","tarball":"https://registry.npmjs.org/gulp-ng-html2js/-/gulp-ng-html2js-0.1.8.tgz","integrity":"sha512-yKPlerSGC2s/pfMjkADwekR8ALvvePWjIhCjKTReqe5gOEKIEZWHHO/Y7n7Axqe16SOd3nkbbDJVGN7CYFQB6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6K/Jm2Q3sUw/N58WEwDvQl33lyuvY6AVpde6pNQbrVAIget6peJKii5/3KPcbQoHCbM3LVx1QlzkJgcao5mwESd0="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"marklagendijk","email":"mark@lagendijk.info"},"maintainers":[{"name":"marklagendijk","email":"mark@lagendijk.info"}],"directories":{}},"0.2.0":{"name":"gulp-ng-html2js","version":"0.2.0","description":"A Gulp plugin which generates AngularJS modules, which pre-load your HTML code into the $templateCache. This way AngularJS doesn't need to request the actual HTML files anymore.","keywords":["gulpplugin","ng-html2js","angular","html2js","angularjs"],"homepage":"https://github.com/marklagendijk/gulp-ng-html2js","bugs":{"url":"https://github.com/marklagendijk/gulp-ng-html2js/issues"},"author":{"name":"Mark Lagendijk","email":"mark@lagendijk.info","url":"https://github.com/marklagendijk"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/marklagendijk/gulp-ng-html2js.git"},"scripts":{"test":"mocha"},"dependencies":{"gulp-util":"*","lodash":"^3.3.0","map-stream":"*"},"devDependencies":{"mocha":"~1.14.0","should":"~2.1.0","event-stream":"~3.0.20"},"engines":{"node":">=0.8.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"gitHead":"1e4d368ea0edb72197552dd749fabaad80618f47","_id":"gulp-ng-html2js@0.2.0","_shasum":"c1758c46efc6c0aab58acbcc28711852e5933036","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"marklagendijk","email":"mark@lagendijk.info"},"maintainers":[{"name":"marklagendijk","email":"mark@lagendijk.info"}],"dist":{"shasum":"c1758c46efc6c0aab58acbcc28711852e5933036","tarball":"https://registry.npmjs.org/gulp-ng-html2js/-/gulp-ng-html2js-0.2.0.tgz","integrity":"sha512-eICAXPS2zkpb2UhU7lJ0VbLJ5JNfxAJX58BoxaFBJnzrbWVnA4bWsIKKOnW9K7WY0NZMzhdkjAEz2YtPK96r6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4VlwEh5lHEC5WX5QmbTrZKELxaVq3PWFJpVyCkFqhWgIhANVcvP45I7MOBOdiuyesV/Ml8qvrF+OAgglqhdfR5FNG"}]},"directories":{}},"0.2.1":{"name":"gulp-ng-html2js","version":"0.2.1","description":"A Gulp plugin which generates AngularJS modules, which pre-load your HTML code into the $templateCache. This way AngularJS doesn't need to request the actual HTML files anymore.","keywords":["gulpplugin","ng-html2js","angular","html2js","angularjs"],"homepage":"https://github.com/marklagendijk/gulp-ng-html2js","bugs":{"url":"https://github.com/marklagendijk/gulp-ng-html2js/issues"},"author":{"name":"Mark Lagendijk","email":"mark@lagendijk.info","url":"https://github.com/marklagendijk"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/marklagendijk/gulp-ng-html2js.git"},"scripts":{"test":"mocha"},"dependencies":{"gulp-util":"*","lodash":"^3.3.0","map-stream":"*"},"devDependencies":{"mocha":"~1.14.0","should":"~2.1.0","event-stream":"~3.0.20"},"engines":{"node":">=0.8.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"gitHead":"9a1bc574009616946d13c95e1a4002c321dd3a59","_id":"gulp-ng-html2js@0.2.1","_shasum":"9f5e9fb6cb56eca4e3143534649d2e1077a7dde8","_from":".","_npmVersion":"2.6.0","_nodeVersion":"4.2.1","_npmUser":{"name":"marklagendijk","email":"mark@lagendijk.info"},"maintainers":[{"name":"marklagendijk","email":"mark@lagendijk.info"}],"dist":{"shasum":"9f5e9fb6cb56eca4e3143534649d2e1077a7dde8","tarball":"https://registry.npmjs.org/gulp-ng-html2js/-/gulp-ng-html2js-0.2.1.tgz","integrity":"sha512-HhU7Ory2RHIknRquDojZirU07hqsfQIhKZq+3ysE9satNKEc7W+6zczdP8QY1XTBG1irR5CCLq1Bbhx2b7HYYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHeuKouM5d5uHC81VJk7K1kDY0wWEDm3UUhVC8hpND7xAiEAukvxmVRq+zy5Il+g/L9o/c6dyWgMr7FykL6jgjZt2I0="}]},"directories":{}},"0.2.2":{"name":"gulp-ng-html2js","version":"0.2.2","description":"A Gulp plugin which generates AngularJS modules, which pre-load your HTML code into the $templateCache. This way AngularJS doesn't need to request the actual HTML files anymore.","keywords":["gulpplugin","ng-html2js","angular","html2js","angularjs"],"homepage":"https://github.com/marklagendijk/gulp-ng-html2js","bugs":{"url":"https://github.com/marklagendijk/gulp-ng-html2js/issues"},"author":{"name":"Mark Lagendijk","email":"mark@lagendijk.info","url":"https://github.com/marklagendijk"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/marklagendijk/gulp-ng-html2js.git"},"scripts":{"test":"mocha"},"dependencies":{"gulp-util":"*","lodash":"^3.3.0","map-stream":"*"},"devDependencies":{"mocha":"~1.14.0","should":"~2.1.0","event-stream":"~3.0.20"},"engines":{"node":">=0.8.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"gitHead":"f0630ca6a6ac43e06990bb29224fae91c7926566","_id":"gulp-ng-html2js@0.2.2","_shasum":"8a8742dd32abe508fd9ac430b477f7bc56f757d4","_from":".","_npmVersion":"2.6.0","_nodeVersion":"4.2.1","_npmUser":{"name":"marklagendijk","email":"mark@lagendijk.info"},"maintainers":[{"name":"marklagendijk","email":"mark@lagendijk.info"}],"dist":{"shasum":"8a8742dd32abe508fd9ac430b477f7bc56f757d4","tarball":"https://registry.npmjs.org/gulp-ng-html2js/-/gulp-ng-html2js-0.2.2.tgz","integrity":"sha512-yLI2H0uxnHbqAaTr5clfsCVFV5mx6l6X27Cr8wlx52MN+Qp/9+wAMOeV2QlfzMhVdyPXMSZJummmvOBnrBMpdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkS1ImzmdACuDJ9ZDFitrHoCS8CZHbyyP5tCpghjUzvQIhAOPd/BVldytvvZBWcrnAOw6VLUzfaKpfIJ08OHKGxTvE"}]},"directories":{}},"0.2.3":{"name":"gulp-ng-html2js","version":"0.2.3","description":"A Gulp plugin which generates AngularJS modules, which pre-load your HTML code into the $templateCache. This way AngularJS doesn't need to request the actual HTML files anymore.","keywords":["gulpplugin","ng-html2js","angular","html2js","angularjs"],"homepage":"https://github.com/marklagendijk/gulp-ng-html2js","bugs":{"url":"https://github.com/marklagendijk/gulp-ng-html2js/issues"},"author":{"name":"Mark Lagendijk","email":"mark@lagendijk.info","url":"https://github.com/marklagendijk"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/marklagendijk/gulp-ng-html2js.git"},"scripts":{"test":"mocha"},"dependencies":{"lodash":"^4.17.11","map-stream":"*","replace-ext":"^1.0.0"},"devDependencies":{"event-stream":"~3.0.20","mocha":"~1.14.0","should":"~2.1.0","vinyl":"^2.1.0"},"engines":{"node":">=0.8.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"gitHead":"a7a060a69d1ddcaa23c1eb35cf8bcacaad7a9899","_id":"gulp-ng-html2js@0.2.3","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-hc9F1W2gYKgZFC74FXEiBiaB1XiADYmOY0bEsL1PLWQgNevZrDX1M8ePdAc4BQp4QvgiHuXSUPXe6c4ouU2AAQ==","shasum":"4481515706a12af121b5b1487a6a0b276572c3d7","tarball":"https://registry.npmjs.org/gulp-ng-html2js/-/gulp-ng-html2js-0.2.3.tgz","fileCount":22,"unpackedSize":37260,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdBR+3CRA9TVsSAnZWagAAOUkQAKTHUs9gutB4PYAHPMqq\nPCmMy+qMFXaPv11uc6I7z05K20aLmKDh0yNKtEs7cENVWb7J/vuuXq2BX1+O\nZ2XP5zdEDubr2mTXS4789dsC8ALco4iCHUtpZzDKAekm3lIl28ZbS2/bAdrt\nmmqEBTRPmSLGrFV5sgaTR92irknmDCw69Q6o0b1O4btnePeVilu7Re/e1f3g\ntmYHo48fSr/xNH+I7Hc28IkBAWe/LZ2FbAUWhhxFQ7qAfImQtvHKqH4kMPQd\nUE9LzA3Zjh94c976CUslMFhVFF8W8WPMdT9r9kORIUTxcO6nhlqJSNgcIEoN\nAjvM4aYFBiiLBJuKqFt3a1+8CPwEXQ8RDGrfy//vbzSk8ScQtt4SrHTSxrz2\n72cTw5yKOWXBjNV2LHPPC33p/f1bqqY3mJU4ScQ39OYy6Jmlgy/oAcmXAL2f\nYeofMqgvilsncGrpec2eX03g/a/Pb9kpIsF1Fyg1bFvnw6atmTODSfJ5XZ8n\n6GohndjgxqgDeIOAvECmumLls5PHaliQ2dP1CeDtJcymRGive0HdcJ5qNF/c\nM8oeEMyvlzv6/HtSnmzmjfI+bwYX4avvY2tip8WwdfErdB+t5YBc44nFgn+D\ndL/LCeovxtg94MIef8ufz+OSsxoya5ZkgUH7TetwZLtSsGzA27vkufu3Vlhb\n/Nk0\r\n=lbpA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlFuFOH96TsdTgNvl7d1CdQxpq/9zZOBmFlwUeStkbuQIgeDENlNIl4sVuEk9I05jjSQEqFTIYM2X8Qygv5n2nLDo="}]},"maintainers":[{"name":"marklagendijk","email":"mark@lagendijk.info"}],"_npmUser":{"name":"marklagendijk","email":"mark@lagendijk.nl"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-ng-html2js_0.2.3_1560616886799_0.09547377784682154"},"_hasShrinkwrap":false}},"readme":"# gulp-ng-html2js [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][depstat-image]][depstat-url]\r\n\r\n> A plugin for [gulp](https://github.com/wearefractal/gulp) which generates AngularJS modules, which pre-load your HTML\r\ncode into the [$templateCache](http://docs.angularjs.org/api/ng.$templateCache). This way AngularJS doesn't need to\r\nrequest the actual HTML files anymore.\r\n\r\n## Usage\r\n\r\nFirst, install `gulp-ng-html2js` as a development dependency:\r\n\r\n```shell\r\nnpm install --save-dev gulp-ng-html2js\r\n```\r\n\r\nThen, add it to your `gulpfile.js`:\r\n\r\n```javascript\r\nvar ngHtml2Js = require(\"gulp-ng-html2js\");\r\n\r\ngulp.src(\"./partials/*.html\")\r\n\t.pipe(ngHtml2Js({\r\n\t\tmoduleName: \"MyAwesomePartials\",\r\n\t\tprefix: \"/partials\"\r\n\t}))\r\n\t.pipe(gulp.dest(\"./dist/partials\"));\r\n```\r\n\r\nThe main reason to use this module would be optimization. By pre-loading the HTML files, you can spare requests and\r\nloading time when the files are actually needed. When you are optimizing, you should do it properly. So, we should add\r\nthe following plugins: `gulp-minify-html`, `gulp-uglify`, and `gulp-concat`:\r\n\r\n```javascript\r\nvar ngHtml2Js = require(\"gulp-ng-html2js\");\r\nvar minifyHtml = require(\"gulp-minify-html\");\r\nvar concat = require(\"gulp-concat\");\r\nvar uglify = require(\"gulp-uglify\");\r\n\r\ngulp.src(\"./partials/*.html\")\r\n\t.pipe(minifyHtml({\r\n\t\tempty: true,\r\n\t\tspare: true,\r\n\t\tquotes: true\r\n\t}))\r\n\t.pipe(ngHtml2Js({\r\n\t\tmoduleName: \"MyAwesomePartials\",\r\n\t\tprefix: \"/partials\"\r\n\t}))\r\n\t.pipe(concat(\"partials.min.js\"))\r\n\t.pipe(uglify())\r\n\t.pipe(gulp.dest(\"./dist/partials\"));\r\n```\r\n\r\nThis way you end up with 1 single, minified Javascript file, which pre-loads all the (minified) HTML templates.\r\n\r\nIf you have your modules sorted into directories that match the module name, you could do something like this:\r\n\r\n```javascript\r\n// This picks up files like this:\r\n//   partials/date-picker/year.html (as well as month.html, day.html)\r\n//   partials/expanded-combo-box/combobox.html\r\n//   partials/forms/feedback.html (as well as survey.html, contact.html)\r\n// Returns modules like this:\r\n//   datePicker, expandedComboBox, forms\r\ngulp.src(\"./partials/**/*.html\")\r\n    .pipe(ngHtml2Js({\r\n\t\tmoduleName: function (file) {\r\n\t\t\tvar pathParts = file.path.split('/');\r\n\t\t\tvar folder = pathParts[pathParts.length - 2];\r\n\t\t\treturn folder.replace(/-[a-z]/g, function (match) {\r\n\t\t\t\treturn match.substr(1).toUpperCase();\r\n\t\t\t});\r\n\t\t}\r\n\t}))\r\n\t.pipe(concat(\"partials.min.js\"))\r\n\t.pipe(gulp.dest('./dist/partials'));\r\n}\r\n```\r\n\r\n## API\r\n\r\n### ngHtml2Js(options)\r\n\r\n#### options.moduleName\r\nType: `String` or `Function`\r\n\r\nThe name of the generated AngularJS module. Uses the file url if omitted.\r\n\r\nWhen this is a function, the returned value will be the module name.  The function will be passed the vinyl file object so the module name can be determined from the path, content, last access time or any other property.  Returning `undefined` will fall back to the file url.\r\n\r\n#### options.declareModule\r\nType: `Boolean`\r\n\r\nWhether to attempt to declare a new module (used with options.moduleName).  True if omitted.\r\n\r\nSet this to false if options.moduleName is already declared.\r\n\r\n#### options.prefix\r\nType: `String`\r\n\r\nThe prefix which should be prepended to the file path to generate the file url.\r\n\r\n#### options.stripPrefix\r\nType: `String`\r\n\r\nThe prefix which should be subtracted from the file path to generate the file url.\r\n\r\n#### options.rename\r\nType: `Function`\r\n\r\nA function that allows the generate file url to be manipulated. For example:\r\n\r\n``` javascript\r\nfunction (templateUrl, templateFile) {\r\n  return templateUrl.replace('.tpl.html', '.html');\r\n}\r\n```\r\n\r\n#### options.template\r\nType: `String`\r\n\r\nA custom Lodash template for generating the Javacript code. The template is called with the following params:\r\n\r\n- moduleName: the resulting module name.\r\n- template\r\n    * url: the resulting template url.\r\n    * content: the HTML content of the input file.\r\n    * escapedContent: the escaped HTML content of the input file. Note: the HTML content is escaped for usage in a single quoted string.\r\n    * prettyEscapedContent: the readable, escaped HTML content of the input file.\r\n\r\n\r\nExample\r\n\r\n``` javascript\r\n{\r\n  template: \"$templateCache.put('<%= template.url %>', '<%= template.escapedContent %>');\"\r\n}\r\n```\r\n\r\n#### options.extension\r\nType: `String`\r\n\r\nThe file extension of the generated files. Defaults to .js. Can be used to generate TypeScript files and create a gulp TypeScript - job to convert them. For a working example take a look at [angular-systemjs-typescript-boilerplate](https://github.com/INSPIRATIONlabs/angular-systemjs-typescript-boilerplate)\r\n\r\n### options.export\r\nType: `String`\r\n\r\n* `commonjs`: export the angular module using `module.exports =`\r\n* `system`: export the angular module using `export default`\r\n\r\n> Note this does not export anything with `declareModule` set to `true`.\r\n\r\nExample\r\n\r\n``` javascript\r\n{\r\n  export: 'commonjs'\r\n}\r\n```\r\n\r\n``` javascript\r\n{\r\n  export: 'system'\r\n}\r\n```\r\n\r\n## License\r\n\r\n[MIT License](http://en.wikipedia.org/wiki/MIT_License)\r\n\r\n[npm-url]: https://npmjs.org/package/gulp-ng-html2js\r\n[npm-image]: https://badge.fury.io/js/gulp-ng-html2js.png\r\n\r\n[travis-url]: http://travis-ci.org/marklagendijk/gulp-ng-html2js\r\n[travis-image]: https://secure.travis-ci.org/marklagendijk/gulp-ng-html2js.png?branch=master\r\n\r\n[depstat-url]: https://david-dm.org/marklagendijk/gulp-ng-html2js\r\n[depstat-image]: https://david-dm.org/marklagendijk/gulp-ng-html2js.png\r\n","maintainers":[{"name":"marklagendijk","email":"mark@lagendijk.info"}],"time":{"modified":"2022-06-18T17:35:53.301Z","created":"2014-01-04T14:21:58.266Z","0.1.0":"2014-01-04T14:21:58.267Z","0.1.1":"2014-01-04T22:34:16.437Z","0.1.2":"2014-01-04T22:41:57.246Z","0.1.3":"2014-01-04T23:11:10.972Z","0.1.4":"2014-01-06T20:55:28.064Z","0.1.6":"2014-02-28T15:36:24.800Z","0.1.7":"2014-05-21T09:15:36.451Z","0.1.8":"2014-08-12T09:09:04.534Z","0.2.0":"2015-02-23T21:21:24.463Z","0.2.1":"2016-01-20T19:02:22.862Z","0.2.2":"2016-01-26T21:42:56.974Z","0.2.3":"2019-06-15T16:41:26.944Z"},"homepage":"https://github.com/marklagendijk/gulp-ng-html2js","keywords":["gulpplugin","ng-html2js","angular","html2js","angularjs"],"repository":{"type":"git","url":"git://github.com/marklagendijk/gulp-ng-html2js.git"},"author":{"name":"Mark Lagendijk","email":"mark@lagendijk.info","url":"https://github.com/marklagendijk"},"bugs":{"url":"https://github.com/marklagendijk/gulp-ng-html2js/issues"},"readmeFilename":"README.md","users":{"wayneseymour":true,"owaz":true,"njif":true,"ziink":true,"antoniolea":true,"dockawash":true,"sdoran":true,"munsellj":true,"fredyu":true,"pabloparejo":true,"antixrist":true,"kuzmicheff":true}}