handlebars-fs
Handlebars helper mappings for the node.js fs module
Last updated 11 years ago by 75lb .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install handlebars-fs 
SYNC missed versions from official npm registry.

view on npm npm module downloads per month Dependency Status

handlebars-fs

Handlebars helper mappings for the node.js fs module.

Install

$ npm install handlebars-fs --save

Usage

var handlebars = require("handlebars");

/* this will register the handlebars-fs helpers on your handlebars instance */
require("handlebars-fs")(handlebars);

Example

{{#if (fs-exists 'readme.md')}}
Readme exists
{{/if}}
{
    "content": {{{json-stringify (fs-readFile "article.md")}}}
}

Current Tags

  • 1.0.0                                ...           latest (11 years ago)

5 Versions

  • 1.0.0                                ...           11 years ago
  • 0.2.0                                ...           12 years ago
  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
  • 0.0.0                                ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |