{"_id":"handlebars-fs","_rev":"334754","name":"handlebars-fs","description":"Handlebars helper mappings for the node.js fs module","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"time":{"modified":"2021-06-08T13:14:56.000Z","created":"2014-05-21T08:21:17.990Z","1.0.0":"2015-03-01T00:07:44.622Z","0.2.0":"2014-07-21T19:32:27.487Z","0.1.1":"2014-07-16T00:15:11.796Z","0.1.0":"2014-07-14T18:54:42.258Z","0.0.0":"2014-05-21T08:21:17.990Z"},"users":{},"author":{"name":"Lloyd Brookes"},"repository":{"type":"git","url":"https://github.com/75lb/handlebars-fs"},"versions":{"1.0.0":{"name":"handlebars-fs","version":"1.0.0","description":"Handlebars helper mappings for the node.js fs module","repository":{"type":"git","url":"https://github.com/75lb/handlebars-fs"},"main":"lib/handlebars-fs.js","author":{"name":"Lloyd Brookes"},"dependencies":{"more-fs":"^0.5.0"},"gitHead":"7606c6a4e1eaee4645044440f1b6ce355c48ad8a","bugs":{"url":"https://github.com/75lb/handlebars-fs/issues"},"homepage":"https://github.com/75lb/handlebars-fs","_id":"handlebars-fs@1.0.0","scripts":{},"_shasum":"fadbcc1c19c9a61d7ef84ef72d1d1d3c1b118e17","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"dist":{"shasum":"fadbcc1c19c9a61d7ef84ef72d1d1d3c1b118e17","size":997,"noattachment":false,"key":"/handlebars-fs/-/handlebars-fs-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/handlebars-fs/download/handlebars-fs-1.0.0.tgz"},"directories":{},"publish_time":1425168464622,"_cnpm_publish_time":1425168464622,"_hasShrinkwrap":false},"0.2.0":{"name":"handlebars-fs","version":"0.2.0","description":"Handlebars helper mappings for the node.js fs module","repository":{"type":"git","url":"https://github.com/75lb/handlebars-fs"},"main":"lib/handlebars-fs.js","author":{"name":"Lloyd Brookes"},"dependencies":{"more-fs":"^0.5.0"},"gitHead":"9b0128b612e93035e13dee009614b3f086915975","bugs":{"url":"https://github.com/75lb/handlebars-fs/issues"},"homepage":"https://github.com/75lb/handlebars-fs","_id":"handlebars-fs@0.2.0","scripts":{},"_shasum":"3d90f99d1c60ab0d213602964ddcf92744ffc843","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"dist":{"shasum":"3d90f99d1c60ab0d213602964ddcf92744ffc843","size":1037,"noattachment":false,"key":"/handlebars-fs/-/handlebars-fs-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/handlebars-fs/download/handlebars-fs-0.2.0.tgz"},"directories":{},"publish_time":1405971147487,"_cnpm_publish_time":1405971147487,"_hasShrinkwrap":false},"0.1.1":{"name":"handlebars-fs","version":"0.1.1","description":"Handlebars helper mappings for the node.js fs module","repository":{"type":"git","url":"https://github.com/75lb/handlebars-fs"},"main":"lib/handlebars-fs.js","author":{"name":"Lloyd Brookes"},"gitHead":"bf783d2400f17e3b691aa8b502d65143f687505b","bugs":{"url":"https://github.com/75lb/handlebars-fs/issues"},"homepage":"https://github.com/75lb/handlebars-fs","_id":"handlebars-fs@0.1.1","scripts":{},"_shasum":"cc646cf90f827eead0a317c5bba5a21a1dc2652a","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"dist":{"shasum":"cc646cf90f827eead0a317c5bba5a21a1dc2652a","size":903,"noattachment":false,"key":"/handlebars-fs/-/handlebars-fs-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/handlebars-fs/download/handlebars-fs-0.1.1.tgz"},"directories":{},"publish_time":1405469711796,"_cnpm_publish_time":1405469711796,"_hasShrinkwrap":false},"0.1.0":{"name":"handlebars-fs","version":"0.1.0","description":"Handlebars helper mappings for the node.js fs module","repository":{"type":"git","url":"https://github.com/75lb/handlebars-fs"},"main":"lib/handlebars-fs.js","author":{"name":"Lloyd Brookes"},"gitHead":"7ac1d668acef67ed87390ca696bfb1b9328a2c5c","bugs":{"url":"https://github.com/75lb/handlebars-fs/issues"},"homepage":"https://github.com/75lb/handlebars-fs","_id":"handlebars-fs@0.1.0","scripts":{},"_shasum":"cc67148d534092138a778097931e86c2ce778ab3","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"dist":{"shasum":"cc67148d534092138a778097931e86c2ce778ab3","size":868,"noattachment":false,"key":"/handlebars-fs/-/handlebars-fs-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/handlebars-fs/download/handlebars-fs-0.1.0.tgz"},"directories":{},"publish_time":1405364082258,"_cnpm_publish_time":1405364082258,"_hasShrinkwrap":false},"0.0.0":{"name":"handlebars-fs","version":"0.0.0","description":"Handlebars helper mappings for the node.js fs module","repository":{"type":"git","url":"https://github.com/75lb/handlebars-fs"},"main":"lib/handlebars-fs.js","author":{"name":"Lloyd Brookes"},"bugs":{"url":"https://github.com/75lb/handlebars-fs/issues"},"homepage":"https://github.com/75lb/handlebars-fs","_id":"handlebars-fs@0.0.0","_shasum":"8e112c82226a7a52fccaf5864ef092bc04641eea","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"dist":{"shasum":"8e112c82226a7a52fccaf5864ef092bc04641eea","size":868,"noattachment":false,"key":"/handlebars-fs/-/handlebars-fs-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/handlebars-fs/download/handlebars-fs-0.0.0.tgz"},"directories":{},"publish_time":1400660477990,"_cnpm_publish_time":1400660477990,"_hasShrinkwrap":false}},"readme":"[![view on npm](http://img.shields.io/npm/v/handlebars-fs.svg)](https://www.npmjs.org/package/handlebars-fs)\n![npm module downloads per month](http://img.shields.io/npm/dm/handlebars-fs.svg)\n[![Dependency Status](https://david-dm.org/75lb/handlebars-fs.svg)](https://david-dm.org/75lb/handlebars-fs)\n\n# handlebars-fs\nHandlebars helper mappings for the node.js [fs module](http://nodejs.org/api/fs.html).\n\n## Install\n```sh\n$ npm install handlebars-fs --save\n```\n\n## Usage\n```js\nvar handlebars = require(\"handlebars\");\n\n/* this will register the handlebars-fs helpers on your handlebars instance */\nrequire(\"handlebars-fs\")(handlebars);\n```\n\n### Example\n```\n{{#if (fs-exists 'readme.md')}}\nReadme exists\n{{/if}}\n```\n\n```\n{\n    \"content\": {{{json-stringify (fs-readFile \"article.md\")}}}\n}\n```\n","_attachments":{},"homepage":"https://github.com/75lb/handlebars-fs","bugs":{"url":"https://github.com/75lb/handlebars-fs/issues"}}