handlebars-fileset

Handlebars helper to create filesets

10 个版本
安装
npm install handlebars-fileset
yarn add handlebars-fileset
pnpm add handlebars-fileset
bun add handlebars-fileset
README

view on npm npm module downloads per month Dependency Status

handlebars-fileset

Access to file-set from Handlebars.

##Install

$ npm install handlebars-fileset

##Usage

var handlebars = require("handlebars");
var handlebarsFileset = require("handlebars-fileset");

/* this will register the handlebars-fileset helpers on your handlebars instance */
handlebarsFileset(handlebars);

###Examples

{{#each fileset("*.md").files}}
filename: {{this}}
{{/each}}
版本列表
1.0.0 2015-02-28
0.1.3 2014-07-14
0.1.2 2014-06-13
0.1.1 2014-06-11
0.1.0 2014-06-05
0.0.5 2014-05-23
0.0.4 2014-05-22
0.0.3 2014-05-21
0.0.2 2014-05-21
0.0.1 2014-05-21