{"_id":"handlebars-path","_rev":"334758","name":"handlebars-path","description":"Handlebars helper mappings for the node.js path module","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"time":{"modified":"2021-06-08T13:14:57.000Z","created":"2014-05-20T21:08:13.217Z","1.0.0":"2015-03-01T00:17:22.443Z","0.1.0":"2014-07-14T19:00:52.006Z","0.0.1":"2014-05-20T21:44:18.681Z","0.0.0":"2014-05-20T21:08:13.217Z"},"users":{},"author":{"name":"Lloyd Brookes"},"repository":{"type":"git","url":"https://github.com/75lb/handlebars-path"},"versions":{"1.0.0":{"name":"handlebars-path","version":"1.0.0","description":"Handlebars helper mappings for the node.js path module","repository":{"type":"git","url":"https://github.com/75lb/handlebars-path"},"main":"lib/handlebars-path.js","author":{"name":"Lloyd Brookes"},"gitHead":"5fa66dee2bb957a7303f4c4df57b37550f5a783b","bugs":{"url":"https://github.com/75lb/handlebars-path/issues"},"homepage":"https://github.com/75lb/handlebars-path","_id":"handlebars-path@1.0.0","scripts":{},"_shasum":"5e5cd981d06a781aa840de7a3353eb03727869e2","_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":"5e5cd981d06a781aa840de7a3353eb03727869e2","size":801,"noattachment":false,"key":"/handlebars-path/-/handlebars-path-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/handlebars-path/download/handlebars-path-1.0.0.tgz"},"directories":{},"publish_time":1425169042443,"_cnpm_publish_time":1425169042443,"_hasShrinkwrap":false},"0.1.0":{"name":"handlebars-path","version":"0.1.0","description":"Handlebars helper mappings for the node.js path module","repository":{"type":"git","url":"https://github.com/75lb/handlebars-path"},"main":"lib/handlebars-path.js","author":{"name":"Lloyd Brookes"},"gitHead":"26ac38bfd81a5ccdcde2405514454c9d39370894","bugs":{"url":"https://github.com/75lb/handlebars-path/issues"},"homepage":"https://github.com/75lb/handlebars-path","_id":"handlebars-path@0.1.0","scripts":{},"_shasum":"56a3f6b3c964faf68293aa14eb3bfa61f30b8581","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"dist":{"shasum":"56a3f6b3c964faf68293aa14eb3bfa61f30b8581","size":828,"noattachment":false,"key":"/handlebars-path/-/handlebars-path-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/handlebars-path/download/handlebars-path-0.1.0.tgz"},"directories":{},"publish_time":1405364452006,"_cnpm_publish_time":1405364452006,"_hasShrinkwrap":false},"0.0.1":{"name":"handlebars-path","version":"0.0.1","description":"Handlebars helper mappings for the node.js path module","repository":{"type":"git","url":"https://github.com/75lb/handlebars-path"},"main":"lib/handlebars-path.js","author":{"name":"Lloyd Brookes"},"bugs":{"url":"https://github.com/75lb/handlebars-path/issues"},"homepage":"https://github.com/75lb/handlebars-path","_id":"handlebars-path@0.0.1","_shasum":"fd2d4f4a70de09423bcebd2f69a57bf04246e354","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"dist":{"shasum":"fd2d4f4a70de09423bcebd2f69a57bf04246e354","size":827,"noattachment":false,"key":"/handlebars-path/-/handlebars-path-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/handlebars-path/download/handlebars-path-0.0.1.tgz"},"directories":{},"publish_time":1400622258681,"_cnpm_publish_time":1400622258681,"_hasShrinkwrap":false},"0.0.0":{"name":"handlebars-path","version":"0.0.0","description":"Handlebars helper mappings for the node.js path module","repository":{"type":"git","url":"https://github.com/75lb/handlebars-path"},"main":"lib/handlebars-path.js","author":{"name":"Lloyd Brookes"},"bugs":{"url":"https://github.com/75lb/handlebars-path/issues"},"homepage":"https://github.com/75lb/handlebars-path","_id":"handlebars-path@0.0.0","_shasum":"05364700602fa05f46d3722dace35447a74d809c","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"dist":{"shasum":"05364700602fa05f46d3722dace35447a74d809c","size":714,"noattachment":false,"key":"/handlebars-path/-/handlebars-path-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/handlebars-path/download/handlebars-path-0.0.0.tgz"},"directories":{},"publish_time":1400620093217,"_cnpm_publish_time":1400620093217,"_hasShrinkwrap":false}},"readme":"[![view on npm](http://img.shields.io/npm/v/handlebars-path.svg)](https://www.npmjs.org/package/handlebars-path)\n![npm module downloads per month](http://img.shields.io/npm/dm/handlebars-path.svg)\n[![Dependency Status](https://david-dm.org/75lb/handlebars-path.svg)](https://david-dm.org/75lb/handlebars-path)\n\n# handlebars-path\nHandlebars helper mappings for the node.js [path module](http://nodejs.org/api/path.html). Works server and client-side (using browserify).\n\n* path-normalize\n* path-join\n* path-resolve\n* path-relative\n* path-basename\n* path-extname\n\n## Install\n```sh\n$ npm install handlebars-path\n```\n\n## Usage\n```js\nvar handlebars = require(\"handlebars\");\nvar handlebarsPath = require(\"handlebars-path\");\n\n/* this will register the handlebars-path helpers on your handlebars instance */\nhandlebars.registerHelper(handlebarsPath);\n```\n\n### Examples\nthe template\n```\nFilename: {{path-basename \"parsnip.veg\" \".veg\"}}.txt\n```\nreturns\n```\nFilename: parsnip.txt\n```\n","_attachments":{},"homepage":"https://github.com/75lb/handlebars-path","bugs":{"url":"https://github.com/75lb/handlebars-path/issues"}}