Neverending Prototype Mode

    handlebars-bundle

    2.3.2 • Public • Published

    handlebars-bundle

    json generator

    USE

    var HandlebarsBundle = require('handlebars-bundle');
    HandlebarsBundle(options);
     

    OPTIONS

    * {string} src - source path
    * {string} root - root path
    * {string} output - output file path
    * {boolean} watch - watching changes
    * {boolean} ignore_errors - ignore errors
    

    Change default settings

    HandlebarsBundle.EXT = '.hbs';
    HandlebarsBundle.BUNDLE_EXT = '.bundle.json';
    HandlebarsBundle.timeRebuild = '600';

    OUTPUT JSON

    {"template":{"name":"path/path","content":"html content","mtime":1476356647000},"partials":{}}

    Keywords

    none

    Install

    npm i handlebars-bundle

    DownloadsWeekly Downloads

    1

    Version

    2.3.2

    License

    ISC

    Last publish

    Collaborators

    • whooooop