{"_id":"include-folder","_rev":"24-b216a391abed506a316d08780a88362a","name":"include-folder","description":"expose the content of each file in a folder as an object property.","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"include-folder","description":"The best project ever.","version":"0.1.0","homepage":"https://github.com/parroit/include-folder","author":{"name":"parroit","email":"andrea.parodi@ebansoftware.net"},"repository":{"type":"git","url":"git://github.com/parroit/include-folder.git"},"bugs":{"url":"https://github.com/parroit/include-folder/issues"},"licenses":[{"type":"MIT","url":"https://github.com/parroit/include-folder/blob/master/LICENSE-MIT"}],"main":"lib/include-folder","engines":{"node":">= 0.10.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-mocha-test":"~0.7.0","expect.js":"~0.2.0","grunt-contrib-watch":"~0.5.3"},"keywords":[],"_id":"include-folder@0.1.0","dist":{"shasum":"2a4238e9aee0ca82f8dda442d0e2a660d18b0cb8","tarball":"https://registry.npmjs.org/include-folder/-/include-folder-0.1.0.tgz","integrity":"sha512-2iUlO3btnDoe4WxE7UOrKspvmLyIdCG5owsas8iYf6dnIkj+7YB7P+jE3n4nEUTdYQz+eSw2ChT3iHixfhHvcQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqUA86so9FadyBC6uDzaSllOJERJP2iUqH4NVAl6VMTAIhAIuwpLiM2iGzolimFL+W/zdGOkG2wfuN30dBwFSL4iN5"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"parroit","email":"andrea.parodi@ebansoftware.net"},"maintainers":[{"name":"parroit","email":"andrea.parodi@ebansoftware.net"}],"directories":{}},"0.3.0":{"name":"include-folder","description":"expose the content of each file in a folder as an object property.","version":"0.3.0","homepage":"https://github.com/parroit/include-folder","author":{"name":"parroit","email":"andrea.parodi@ebansoftware.net"},"repository":{"type":"git","url":"git://github.com/parroit/include-folder.git"},"bugs":{"url":"https://github.com/parroit/include-folder/issues"},"licenses":[{"type":"MIT","url":"https://github.com/parroit/include-folder/blob/master/LICENSE-MIT"}],"main":"lib/include-folder","engines":{"node":">= 0.10.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-mocha-test":"~0.7.0","expect.js":"~0.2.0","grunt-contrib-watch":"~0.5.3"},"keywords":["folder","content","file","require","readFileSync"],"dependencies":{"lodash":"~2.4.1"},"_id":"include-folder@0.3.0","dist":{"shasum":"80f5e61b3947a384032f23a76ded223cf5d519b9","tarball":"https://registry.npmjs.org/include-folder/-/include-folder-0.3.0.tgz","integrity":"sha512-NzADkJgEaM53j7mLoWAVckvQyDT8NoAVt8OZ8+Ount75B+4olA7+x4drDNX0dAmK+EqQ89eqIy9heHZ8kySnYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWjwGWn4W1THwm3ZtAwkuFCUEA24LVejwclxSmZv+clwIgb8awPpCBaxsvPoPZ3aceflh5ySG3voSH5hgKTp0vWfM="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"parroit","email":"andrea.parodi@ebansoftware.net"},"maintainers":[{"name":"parroit","email":"andrea.parodi@ebansoftware.net"}],"directories":{}},"0.4.0":{"name":"include-folder","description":"expose the content of each file in a folder as an object property.","version":"0.4.0","homepage":"https://github.com/parroit/include-folder","author":{"name":"parroit","email":"andrea.parodi@ebansoftware.net"},"repository":{"type":"git","url":"git://github.com/parroit/include-folder.git"},"bugs":{"url":"https://github.com/parroit/include-folder/issues"},"licenses":[{"type":"MIT","url":"https://github.com/parroit/include-folder/blob/master/LICENSE-MIT"}],"main":"lib/include-folder","engines":{"node":">= 0.10.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-mocha-test":"~0.7.0","expect.js":"~0.2.0","grunt-contrib-watch":"~0.5.3"},"keywords":["folder","content","file","require","readFileSync"],"dependencies":{"lodash":"~2.4.1"},"_id":"include-folder@0.4.0","dist":{"shasum":"e44bb7fd9bf234c06da5e651c2dac7b79ca05f0d","tarball":"https://registry.npmjs.org/include-folder/-/include-folder-0.4.0.tgz","integrity":"sha512-CfEmsbX5AyKecYVaFVDQDq3CNnHc/xOa8L8UqEIqmh90QtBI0/uDXKNVB65/feRH5olALJiwhScOaeL4GzDNZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH4MQMD3Ues+Vzpi0ncMS/NEfaC6EwOLDsv/AK8v+Ni2AiEAtU0P7Mt9x/tll9Mhg3drIN5vcbREnRr/0YIH6sk3TnM="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"parroit","email":"andrea.parodi@ebansoftware.net"},"maintainers":[{"name":"parroit","email":"andrea.parodi@ebansoftware.net"}],"directories":{}},"0.5.0":{"name":"include-folder","description":"expose the content of each file in a folder as an object property.","version":"0.5.0","homepage":"https://github.com/parroit/include-folder","author":{"name":"parroit","email":"andrea.parodi@ebansoftware.net"},"repository":{"type":"git","url":"git://github.com/parroit/include-folder.git"},"bugs":{"url":"https://github.com/parroit/include-folder/issues"},"licenses":[{"type":"MIT","url":"https://github.com/parroit/include-folder/blob/master/LICENSE-MIT"}],"main":"lib/include-folder","engines":{"node":">= 0.10.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-mocha-test":"~0.7.0","expect.js":"~0.2.0","grunt-contrib-watch":"~0.5.3"},"keywords":["folder","content","file","require","readFileSync"],"dependencies":{"lodash":"~2.4.1"},"_id":"include-folder@0.5.0","dist":{"shasum":"a06311ff22b85caa88ae11a60f8c3db5ec5361d3","tarball":"https://registry.npmjs.org/include-folder/-/include-folder-0.5.0.tgz","integrity":"sha512-FngfDdATDr67mmxDm9KLvSdQNSfZ0wU+f80b4CgR/6xL7fI5FwKayOcVuUzxLA7Ro7OATovSFWlwlotj9VhKKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEDxqNP+czqN676njK5CCU7I9EbUOyQ/DM1FYPpHxQTiAiBZUPNluvht3fBEWzq5MKvlU95kqPoTf1ffdWkiegBgwg=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"parroit","email":"andrea.parodi@ebansoftware.net"},"maintainers":[{"name":"parroit","email":"andrea.parodi@ebansoftware.net"}],"directories":{}},"0.6.0":{"name":"include-folder","description":"expose the content of each file in a folder as an object property.","version":"0.6.0","homepage":"https://github.com/parroit/include-folder","author":{"name":"parroit","email":"andrea.parodi@ebansoftware.net"},"repository":{"type":"git","url":"git://github.com/parroit/include-folder.git"},"bugs":{"url":"https://github.com/parroit/include-folder/issues"},"licenses":[{"type":"MIT","url":"https://github.com/parroit/include-folder/blob/master/LICENSE-MIT"}],"main":"lib/include-folder","engines":{"node":">= 0.10.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-mocha-test":"~0.7.0","expect.js":"~0.2.0","grunt-contrib-watch":"~0.5.3"},"keywords":["folder","content","file","require","readFileSync"],"dependencies":{"lodash":"~2.4.1"},"_id":"include-folder@0.6.0","dist":{"shasum":"5b9e3770d8785cd9cd19cd1d7390066bdba9424a","tarball":"https://registry.npmjs.org/include-folder/-/include-folder-0.6.0.tgz","integrity":"sha512-CzuOR74XLsvpMPVI0DWqi/V2RrWI7Jww6jjkgskDSsTVRyn3euYj9Jr9zlfUqca3qjJ4b/xtzxU5Qt8baf0gpA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVAzs+fmGng15UjNFBdqa74DPXAfxJyubmDLn4PPdTBgIgWiK8tnZpvWx/TCo+32Z2I09oDTugRMF4JFPsy4xF/RM="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"parroit","email":"andrea.parodi@ebansoftware.net"},"maintainers":[{"name":"parroit","email":"andrea.parodi@ebansoftware.net"}],"directories":{}},"0.7.0":{"name":"include-folder","description":"expose the content of each file in a folder as an object property.","version":"0.7.0","homepage":"https://github.com/parroit/include-folder","author":{"name":"parroit","email":"andrea.parodi@ebansoftware.net"},"repository":{"type":"git","url":"git://github.com/parroit/include-folder.git"},"bugs":{"url":"https://github.com/parroit/include-folder/issues"},"licenses":[{"type":"MIT","url":"https://github.com/parroit/include-folder/blob/master/LICENSE-MIT"}],"main":"lib/include-folder","engines":{"node":">= 0.10.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-mocha-test":"~0.7.0","expect.js":"~0.2.0","grunt-contrib-watch":"~0.5.3"},"keywords":["folder","content","file","require","readFileSync"],"dependencies":{"lodash":"~2.4.1"},"_id":"include-folder@0.7.0","dist":{"shasum":"0bf1c5d854514fd6378d224be165c162641746c0","tarball":"https://registry.npmjs.org/include-folder/-/include-folder-0.7.0.tgz","integrity":"sha512-6ZryNmFRD/bmycFUXvS3hROOxIkswI0zRIWizXG4rBhF4z26iLjNDmPIDeu7511c2Wf4SCp5VLfa6gu5sjaXkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICg3KkwzrJiU6xm9RzAS1qRMHX3fkSy2HOwe7s72J8tzAiEAmTzoL1Y0NLqwjOXBWBDivIJzMG55gKKDgve23wyu8Fk="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"parroit","email":"andrea.parodi@ebansoftware.net"},"maintainers":[{"name":"parroit","email":"andrea.parodi@ebansoftware.net"}],"directories":{}},"0.8.0":{"name":"include-folder","description":"expose the content of each file in a folder as an object property.","version":"0.8.0","homepage":"https://github.com/parro-it/include-folder","author":{"name":"parroit","email":"andrea@parro.it"},"repository":{"type":"git","url":"git://github.com/parro-it/include-folder.git"},"bugs":{"url":"https://github.com/parro-it/include-folder/issues"},"licenses":[{"type":"MIT","url":"https://github.com/parro-it/include-folder/blob/master/LICENSE-MIT"}],"main":"lib/include-folder","engines":{"node":">= 0.10.0"},"scripts":{"test":"jshint lib/*.js test/*.js && mocha test/*.js","watch":"mocha --watch test/*.js"},"devDependencies":{"expect.js":"~0.2.0","jshint":"^2.7.0","mocha":"^2.2.4"},"keywords":["folder","content","file","require","readFileSync"],"dependencies":{},"gitHead":"9c22ac88fa631688572e9a327921dc13c6baeafb","_id":"include-folder@0.8.0","_shasum":"38f5ebc6c82d8fac2728b7fe43fb33cdcb907dc1","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"parroit","email":"andrea.parodi@ebansoftware.net"},"maintainers":[{"name":"parroit","email":"andrea.parodi@ebansoftware.net"}],"dist":{"shasum":"38f5ebc6c82d8fac2728b7fe43fb33cdcb907dc1","tarball":"https://registry.npmjs.org/include-folder/-/include-folder-0.8.0.tgz","integrity":"sha512-7rDiDOYr5xK8fYsGQSGlOnHT0WdBpE/Y4RyJFBezRpx0LNXGg42Z2TnGgebm/fwi9xdZpq3EHKRGr8nYv9FmcQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkipONVxWUGJqKGYEdGWMzhCJL/Rl3i/p5h7zxibsoDAIhAKLP4eE3NEmkLd5AZ06AalYgDVzFxByCAlDBCBrT1UnS"}]},"directories":{}},"0.9.0":{"name":"include-folder","description":"expose the content of each file in a folder as an object property.","version":"0.9.0","homepage":"https://github.com/parro-it/include-folder","author":{"name":"parroit","email":"andrea@parro.it"},"repository":{"type":"git","url":"git://github.com/parro-it/include-folder.git"},"bugs":{"url":"https://github.com/parro-it/include-folder/issues"},"licenses":[{"type":"MIT","url":"https://github.com/parro-it/include-folder/blob/master/LICENSE-MIT"}],"main":"lib/include-folder","engines":{"node":">= 0.10.0"},"scripts":{"test":"jshint lib/*.js test/*.js && mocha test/*.js","watch":"mocha --watch test/*.js"},"devDependencies":{"expect.js":"~0.2.0","jshint":"^2.7.0","mocha":"^2.2.4"},"keywords":["folder","content","file","require","readFileSync"],"dependencies":{},"gitHead":"724cfc0dae37378a535a96e05744f2fbec299bd5","_id":"include-folder@0.9.0","_shasum":"8e4ec64bbff6114ae742aa65e63dc469c46a7542","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"parroit","email":"andrea.parodi@ebansoftware.net"},"maintainers":[{"name":"parroit","email":"andrea.parodi@ebansoftware.net"}],"dist":{"shasum":"8e4ec64bbff6114ae742aa65e63dc469c46a7542","tarball":"https://registry.npmjs.org/include-folder/-/include-folder-0.9.0.tgz","integrity":"sha512-VV0hban9JAVZGArLWh63AJLSIbs/nQVOxvze/7Z2mPjrciYLBgZbfwQkZ43YOucQxfL3g8C7xI874ALHPLBKlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2wzlQkLt2ywqX3R7A3Yx713FQDOthE/sU5vLn7ZG6zAIhALXCEqeBtASC4XZi1dmfupXjbR9/lf0Gs74aOg8/syu3"}]},"directories":{}},"1.0.0":{"name":"include-folder","description":"expose the content of each file in a folder as an object property.","version":"1.0.0","homepage":"https://github.com/parro-it/include-folder","author":{"name":"parroit","email":"andrea@parro.it"},"eslintConfig":{"extends":"eslint-config-semistandard"},"repository":{"type":"git","url":"git://github.com/parro-it/include-folder.git"},"bugs":{"url":"https://github.com/parro-it/include-folder/issues"},"license":"MIT","main":"lib/include-folder","engines":{"node":">= 0.10.0"},"scripts":{"test":"eslint lib/*.js test/*.js && mocha test/*.js","prepublish":"npm run test","watch":"mocha --watch test/*.js"},"devDependencies":{"eslint":"^1.2.1","eslint-config-semistandard":"^5.0.0","eslint-config-standard":"^4.1.0","eslint-plugin-standard":"^1.2.0","expect.js":"^0.2.0","mocha":"^2.2.4"},"keywords":["folder","content","file","require","readFileSync"],"dependencies":{},"gitHead":"b0172a3423463593153b3c11c9ae702cc4589b16","_id":"include-folder@1.0.0","_shasum":"478d3163067ef9d6740e33c582eef34477c5fd79","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.0.0","_npmUser":{"name":"parroit","email":"andrea.parodi@ebansoftware.net"},"dist":{"shasum":"478d3163067ef9d6740e33c582eef34477c5fd79","tarball":"https://registry.npmjs.org/include-folder/-/include-folder-1.0.0.tgz","integrity":"sha512-WOYhzBdiKMwuc6uqvOsg+VsyT4OBBNgFA1HEbIsNcA8SV82SA3wzf3cKodeMfbkiC0SS2+dNC/X/AOtQFDl0QA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGTUGYciOOBviJ+8uuKVMLdzJzyNkY8xdOkmFkIPl+WEAiBgV2bhmhjDNHsDb/t5abiFb4fZy6Fqor3JGiJUIWkAFA=="}]},"maintainers":[{"name":"parroit","email":"andrea.parodi@ebansoftware.net"}],"directories":{}}},"readme":"# include-folder\n[![Build Status](https://secure.travis-ci.org/parro-it/include-folder.png?branch=master)](http://travis-ci.org/parro-it/include-folder)  [![Npm module](https://badge.fury.io/js/include-folder.png)](https://npmjs.org/package/include-folder) [![Code Climate](https://codeclimate.com/github/parro-it/include-folder/badges/gpa.svg)](https://codeclimate.com/github/parro-it/include-folder)\n\nExpose the content of each file in a folder as an object property.\n\nThis module is browserifiable using the [folderify transform](https://github.com/parroit/folderify)\n\n\n## Getting Started\nInstall the module with: `npm install include-folder --save`\n\nThen use like this:\n\n```javascript\nvar includeFolder = require('include-folder'),\n    folder = includeFolder(\"./aFolder\");\n```\n\nSupposing that the content of aFolder was the same as in [the sample in test](https://github.com/parro-it/include-folder/tree/master/test/files)\nfolder var will contains:\n\n```javascript\n{\n    file3OtherFile: 'this is file3OtherContent content',\n    file1: 'this is file1 content',\n    file1_1: 'this is file1_1 content'\n}\n```\n\n## Filter included files\n\nYou can filter which files to include using the filter parameter:\n\n\n```javascript\nvar includeFolder = require('include-folder'),\n    folder = includeFolder(\"./aFolder\",/^a.*/);\n```\n\nThis only include files that start with 'a'\n\nFilter parameters defaults to /^[^.].*$/, which include every file\nin the folder, except hidden ones (these that has a name starting with dot).\n\n## Preserve filenames\n\nTo prevent normalization and stripping of the extension in the result object, the `preserveFilenames` option can be used:\n\n```javascript\nincludeFolder('./www', null, { preserveFilenames: true });\n```\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style.\nAdd unit tests for any new or changed functionality.\n\n\n## License\nCopyright (c) 2013 parroit\nLicensed under the MIT license.\n\n","maintainers":[{"name":"parroit","email":"andrea.parodi@ebansoftware.net"}],"time":{"modified":"2022-06-19T01:00:45.005Z","created":"2013-12-05T17:40:37.950Z","0.1.0":"2013-12-05T17:40:42.361Z","0.3.0":"2013-12-05T19:08:05.733Z","0.4.0":"2013-12-06T09:11:27.361Z","0.5.0":"2013-12-06T15:57:16.176Z","0.6.0":"2014-01-18T10:11:59.201Z","0.7.0":"2014-01-18T17:44:20.611Z","0.8.0":"2015-05-11T18:53:58.608Z","0.9.0":"2015-05-11T18:56:19.619Z","1.0.0":"2015-08-22T17:38:55.298Z"},"author":{"name":"parroit","email":"andrea@parro.it"},"repository":{"type":"git","url":"git://github.com/parro-it/include-folder.git"},"users":{"parroit":true,"wvlvik":true,"davidbwaters":true},"readmeFilename":"README.md","homepage":"https://github.com/parro-it/include-folder","keywords":["folder","content","file","require","readFileSync"],"bugs":{"url":"https://github.com/parro-it/include-folder/issues"},"license":"MIT"}