{"_id":"@absolunet/gulp-include","_rev":"23-325a6e3571979a0dd929d436a9f89747","name":"@absolunet/gulp-include","description":"Enables functionality similar to that of snockets / sprockets or other file insertion compilation tools. (Extends gulp-include with custom rendering of inclusion)","dist-tags":{"latest":"0.5.1"},"versions":{"0.4.0":{"name":"@absolunet/gulp-include","version":"0.4.0","description":"Enables functionality similar to that of snockets / sprockets or other file insertion compilation tools. (Extends gulp-include with custom rendering of inclusion)","definition":"","keywords":["gulpplugin","gulpinclude","nwayo"],"homepage":"https://github.com/absolunet/gulp-include","author":{"name":"Absolunet","url":"http://absolunet.com/"},"contributors":{"name":"Hugo Wiledal"},"license":"MIT","repository":{"url":"git://github.com/absolunet/gulp-include.git","type":"git"},"bugs":{"url":"https://github.com/absolunet/gulp-include/issues"},"engines":{"node":">= 7.7.3"},"scripts":{"test":"mocha"},"devDependencies":{"gulp":"3.9.1","mocha":"3.2.0","should":"11.2.1"},"dependencies":{"event-stream":"3.3.4","glob":"7.1.1","gulp-util":"3.0.8","lodash":"4.17.4"},"gitHead":"2691f18e9df898885818c94a715b77142fcdc521","_id":"@absolunet/gulp-include@0.4.0","_shasum":"02de7733aa7f26c7c427f3404191bad470cf249b","_from":".","_npmVersion":"4.4.1","_nodeVersion":"7.7.3","_npmUser":{"name":"jblandry","email":"npm@jblandry.info"},"dist":{"shasum":"02de7733aa7f26c7c427f3404191bad470cf249b","tarball":"https://registry.npmjs.org/@absolunet/gulp-include/-/gulp-include-0.4.0.tgz","integrity":"sha512-Mq8ofx2o4nKlTaDtR/+8fX5vuVlMoQiqlSqihPa69VrwTi4m9iwLEgcdGc0Zu66XI4bAr2EzSIFuAXAfNkppmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2/N0LQZlWZZDMyokehBXL4CESY2U1TCOGUaJLCwqhDwIhAO9AtmHWinoUu0ZUAj+6yVdJAZU9xVcptt7m1VtE+zTf"}]},"maintainers":[{"name":"jblandry","email":"npm@jblandry.info"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/gulp-include-0.4.0.tgz_1490371518421_0.8722401121631265"},"directories":{}},"0.4.1":{"name":"@absolunet/gulp-include","version":"0.4.1","description":"Enables functionality similar to that of snockets / sprockets or other file insertion compilation tools. (Extends gulp-include with custom rendering of inclusion)","definition":"","keywords":["gulpplugin","gulpinclude","nwayo"],"homepage":"https://github.com/absolunet/gulp-include","author":{"name":"Absolunet","url":"http://absolunet.com/"},"contributors":{"name":"Hugo Wiledal"},"license":"MIT","repository":{"url":"git://github.com/absolunet/gulp-include.git","type":"git"},"bugs":{"url":"https://github.com/absolunet/gulp-include/issues"},"engines":{"node":">= 7.7.4"},"scripts":{"test":"mocha"},"devDependencies":{"gulp":"3.9.1","mocha":"3.2.0","should":"11.2.1"},"dependencies":{"event-stream":"3.3.4","glob":"7.1.1","gulp-util":"3.0.8","lodash":"4.17.4"},"gitHead":"475de6a8912f4db6f46b107f22ee767990529819","_id":"@absolunet/gulp-include@0.4.1","_shasum":"c9683dbffef80959bd93fe83137f7107062113a8","_from":".","_npmVersion":"4.4.1","_nodeVersion":"7.7.3","_npmUser":{"name":"jblandry","email":"npm@jblandry.info"},"dist":{"shasum":"c9683dbffef80959bd93fe83137f7107062113a8","tarball":"https://registry.npmjs.org/@absolunet/gulp-include/-/gulp-include-0.4.1.tgz","integrity":"sha512-QpNWjVpKGTVE0VgOLN0IwIFP1Ur6MvhhrX5HMCIvvRScBKt+u8/fsCLkEZQc6W4oXxMRBtKe+HB0akYY3breaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3hH0ZjPtehQ90Ki+Z06ui0qjJ4Z89gzXIx/6oNyyu4QIhAPCaehkkzcXNdiFrA6qFkfKmOJczbn8U+njkj74u6E11"}]},"maintainers":[{"name":"jblandry","email":"npm@jblandry.info"},{"name":"leandreb","email":"leandre.briere@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gulp-include-0.4.1.tgz_1491321866843_0.747046111850068"},"directories":{}},"0.5.0":{"name":"@absolunet/gulp-include","version":"0.5.0","description":"Enables functionality similar to that of snockets / sprockets or other file insertion compilation tools. (Extends gulp-include with custom rendering of inclusion)","definition":"","keywords":["gulpplugin","gulpinclude","nwayo"],"homepage":"https://github.com/absolunet/gulp-include","author":{"name":"Absolunet","url":"http://absolunet.com/"},"contributors":{"name":"Hugo Wiledal"},"license":"MIT","repository":{"url":"git://github.com/absolunet/gulp-include.git","type":"git"},"bugs":{"url":"https://github.com/absolunet/gulp-include/issues"},"engines":{"node":">= 8.1.4"},"scripts":{"test":"mocha"},"devDependencies":{"gulp":"3.9.1","mocha":"3.2.0","should":"11.2.1"},"dependencies":{"event-stream":"3.3.4","glob":"7.1.1","gulp-util":"3.0.8","lodash":"4.17.4"},"gitHead":"f1a44a1899fae80979a05b11ad3f898a7cc672c4","_id":"@absolunet/gulp-include@0.5.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"jblandry","email":"npm@jblandry.info"},"dist":{"integrity":"sha512-s+SNGg7qcStcM/vof3oS6ZW9mKsg6qQSJphZLMC5+Z0EreYvw+R7fBK3T4qYuBXdk8SxvHgBliCFDUntQlFPLA==","shasum":"e20bea1b365d78625120c2d28fb9106e14c6791c","tarball":"https://registry.npmjs.org/@absolunet/gulp-include/-/gulp-include-0.5.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICw3gv77wjtJXn5kn3VZEPaj57QFFb00UhGdaC5nJB31AiEApetLLp6IMLrX4EsAj5HR94O5pwtGwvkMHjg7H8Jq0XE="}]},"maintainers":[{"name":"jblandry","email":"npm@jblandry.info"},{"name":"leandreb","email":"leandre.briere@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-include-0.5.0.tgz_1501780209224_0.8235519600566477"},"directories":{}},"0.5.1":{"name":"@absolunet/gulp-include","version":"0.5.1","description":"Enables functionality similar to that of snockets / sprockets or other file insertion compilation tools. (Extends gulp-include with custom rendering of inclusion)","definition":"","keywords":["gulpplugin","gulpinclude","nwayo"],"homepage":"https://github.com/absolunet/gulp-include","author":{"name":"Absolunet","url":"http://absolunet.com/"},"contributors":{"name":"Hugo Wiledal"},"license":"MIT","repository":{"url":"git://github.com/absolunet/gulp-include.git","type":"git"},"bugs":{"url":"https://github.com/absolunet/gulp-include/issues"},"engines":{"node":">= 8.4.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp":"^3.9.1","mocha":"^3.2.0","should":"^12.0.0"},"dependencies":{"event-stream":"^3.3.4","glob":"^7.1.2","gulp-util":"^3.0.8","lodash":"^4.17.4"},"gitHead":"6f68e881366024bcd3757607dc980995f6a816dc","_id":"@absolunet/gulp-include@0.5.1","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"jblandry","email":"npm@jblandry.info"},"dist":{"integrity":"sha512-c6xE2ukzQPQSrwAOVTu69N12JXQp7LhtHN0v4jzTbC+IruAt08onIsjVIheP9zpfVyCP6hcyLNgP8YBh8oE/pw==","shasum":"cf1092ea3167fcf9e435d4a9937efc6da076bbfc","tarball":"https://registry.npmjs.org/@absolunet/gulp-include/-/gulp-include-0.5.1.tgz","npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuyJACRA9TVsSAnZWagAAiewP/j5MTpV8Ikalnjm2YVEu\nKar5BggmWbNbKEd9B+pupWzBPOqURVgUzU/7pXyqfsdKarfIjTZ2mg5LAy80\nEx4IvU7DLqOfR23JnkYCju2PzhRT9ooi/86nKJgvFFU1WdxghI6GiTj/W45U\n3Vv64+nyKcVldJskigl9J/b92cNgKz5mXOSuNfAxyIJrxdCfQscEqFM2/k8D\nchlas5DlU5MyVS1p2HW3iXZypN+tOQxQuGyzgIWl2a2WwYuetE40aD6TtlwV\nIqgRInEj72iCrPmu/7nx+iqIsC6K5XJKbjtTHFFBJiQYXTGwKeV/A5zxgM5h\n2Vu5/S/HPj62h7BPHKM9/RXLfOXCjAG+zaqowd2fXq+0vhah25/us95uPLKu\nyhXBC1WmHsvIkkAAewJcfJumBjYuJ3aLiWb4OrV88h6HyhO6zlLppsfj8avi\nFEfmqKVZN5w2i5id01V5aZcQ+yotfJl/6xfk01JYAlqXouVfP+s1l+rYos3T\nwN3mkqYPgFDKzbfK9BYPqpOjKnM1Dkxd23p2sKe5AK0nuBhX3o1LVNlGYRv8\nf5XA90pYLfTiFc4JXV9DrQrQzHucjvpsUIYUEeUR9aoQ+V+Lb0XUuUAa/N8W\ngHrJi3VW0Ik2P6h/+3S3cWpnyMCatoUgBn8vYNXM7fdMmSSGOyzs0W4svw08\nXdg6\r\n=eMb7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBC5rKhAP15+wk1B5KbGppqkS4RhDQcriyhEdDXXWMT4AiAfnScvKZYDs/r05dfjfy2JRCjh1WXoxBfHj/67s1krfQ=="}]},"maintainers":[{"name":"jblandry","email":"npm@jblandry.info"},{"name":"leandreb","email":"leandre.briere@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-include-0.5.1.tgz_1504289961105_0.08042301307432353"},"directories":{}}},"readme":"# @absolunet/gulp-include\n\n[![NPM version](https://img.shields.io/npm/v/@absolunet/gulp-include.svg)](https://www.npmjs.com/package/@absolunet/gulp-include)\n[![Travis build](https://api.travis-ci.org/absolunet/gulp-include.svg?branch=master)](https://travis-ci.org/absolunet/gulp-include/builds)\n[![Dependencies](https://david-dm.org/absolunet/gulp-include/status.svg)](https://david-dm.org/absolunet/gulp-include)\n[![Dev dependencies](https://david-dm.org/absolunet/gulp-include/dev-status.svg)](https://david-dm.org/absolunet/gulp-include?type=dev)\n\n>Makes inclusion of files a breeze.\nEnables functionality similar to that of snockets / sprockets or other file insertion compilation tools.\n(Extends gulp-include with custom rendering of inclusion)\n\n> Made for gulp 3\n\n\n## Usage\nFirst, install `gulp-include` as a dev dependency:\n`npm install --save-dev @absolunet/gulp-include`\n\nThen, add your _include-comments_ to your file.\n_People who have experience with `sprockets` or `snockets` will feel at home._\n\n\nAn _include-comment_ looks like this:\n```javascript\n//= include relative/path/to/file.js\n```\nor if you want to get crazy, a glob pattern like so:\n```javascript\n//= include relative/path/to/directory/*.js\n```\n\nor to get even crazier, an array glob similar to commonly used in GruntJS:\n```javascript\n//= include ['app/someFramework.js', 'app/**/*.js', '!app/vendor/**/*', 'app/someLibrary.js']\n```\n\n(Note: for those of you unfamiliar with the above syntax, check out https://github.com/isaacs/node-glob\nor http://gruntjs.com/configuring-tasks#globbing-patterns)\n\nYou can do all of this in any language, the only requirement is that the first character\n on the line after any #, /, or white space characters is an equal sign.\n```coffeescript\n#= require_tree relative/path/to/directory\n```\n`gulp-include` disregards whitespace, as long as the comment-line starts with a _newline_ followed `=` and contains `include`, `require` or `include_tree`, `require_tree`.\n\nThis plugin recursively expand files it includes, so you can nest includes inside of files that\n    were themselves included. IE:\n\n`main.js`:\n```\n//= include included_file.js\n```\n\n`included_file.js`:\n```\n//= include recursive_include.js\n```\nAnd so on recursively to an arbitrary depth.\n\nThe example below compiles a several coffee-files and js-files into a single js-file:\n\n`app.coffee`:\n\n```coffeescript\n`\n//= require vendor/jquery.js\n//= require vendor/modernizr.js\n`\n\n#= require controllers/AppController.coffee\n#= require_tree views\n\nclass Main extends AppController\n\tconstructor: ->\n\t\tconsole.log \"This is main!\"\n\nwindow.main = new Main()\n```\n*Note:* The example above uses backticks (\\`) to allow `gulp-coffee` to compile inline javascript\n\n`gulpfile.js`:\n\n```javascript\nvar gulp\t\t= require('gulp'),\n\tinclude\t\t= require('@absolunet/gulp-include'),\n\tcoffee\t\t= require('gulp-coffee');\n\ngulp.task(\"scripts\", function() {\n\tgulp.src('src/js/app.coffee')\n\t\t.pipe( include() )\n\t\t.pipe( coffee() )\n\t\t.pipe( gulp.dest(\"dist/js\") )\n});\n\ngulp.task(\"default\", \"scripts\");\n```\n\n\n### jshtml\n```javascript\n//= jshtml relative/path/to/file\n```\nor if you want to get a directory\n```javascript\n//= jshtml_directory relative/path/to/directory\n```\n\n#### Example\nThe example below compiles several jsrender files into a single js-file:\n\n`app.js`:\n\n```javascript\n//= jshtml common/templates/item\n//= jshtml_directory cart/templates\n\napp.tmpl.common_item.render();\napp.tmpl.cart_list1.render();\n```\n\n\n## Options\n* `extensions` (optional)\n\t* Takes a `String` or an `Array` of extensions, eg: `\"js\"` or `[\"js\", \"coffee\"]`\n\t* If set, all inclusions that does not match the extension(s) will be ignored\n* `basePath` (optional)\n\t* Takes a `String` path\n\t* If set, all inclusions will be based from the `basePath` instead of being relative to the file\n* `autoExtension` (optional)\n\t* Takes a `Boolean`\n\t* If set, all inclusions will automatically have the current file extension added to them\n* `partialPrefix` (optional)\n\t* Takes a `Boolean`\n\t* If set, all inclusions will be tried with an underscore-prefixed filename (SASS style)\n* `fileProcess` (optional)\n\t* Takes a `Function`\n\t* If set, will be called back with the file content to be processed an returned\n\n\n## Documentation\nVisit the [http://absolunet.github.io/nwayo](http://absolunet.github.io/nwayo) website for all the things.\n\n## Release history\nForked from gulp-include [v1.1.0](https://github.com/wiledal/gulp-include/commit/c1e06c2c6ba76af9f00548675b817719a90a9f86)\n\n## License\nSee the [license](https://github.com/absolunet/gulp-include/blob/master/license).\n","maintainers":[{"email":"abso-opensource@valtech.com","name":"valtech_commerce"},{"email":"dev+absobot-npm@absolunet.com","name":"absobot"},{"email":"npm@jblandry.info","name":"jblandry"}],"time":{"modified":"2023-02-09T21:56:50.583Z","created":"2017-03-24T16:05:19.572Z","0.4.0":"2017-03-24T16:05:19.572Z","0.4.1":"2017-04-04T16:04:28.737Z","0.5.0":"2017-08-03T17:10:10.165Z","0.5.1":"2017-09-01T18:19:21.254Z"},"homepage":"https://github.com/absolunet/gulp-include","keywords":["gulpplugin","gulpinclude","nwayo"],"repository":{"url":"git://github.com/absolunet/gulp-include.git","type":"git"},"contributors":{"name":"Hugo Wiledal"},"author":{"name":"Absolunet","url":"http://absolunet.com/"},"bugs":{"url":"https://github.com/absolunet/gulp-include/issues"},"license":"MIT","readmeFilename":"readme.md"}