Have ideas to improve npm?Join in the discussion! »

    handlebars-md5

    0.0.1 • Public • Published

    handlebars-md5 Build Status

    Handlebars MD5 helper.

    Install

    npm install handlebars-md5
    

    How to use ?

    var hbsMd5 = require('handlebars-md5');
    Handlebars.registerHelper('md5', hbsMd5);
     
    var template = Handlebars.compile('<script src="/assets/js/require-{{md5 "public/assets/js/require.js"}}.js"></script>');
    template.render(); // <script src="/assets/js/require-498527f993c7f7052a542191159a6781.js"></script>

    License

    MIT

    Keywords

    none

    Install

    npm i handlebars-md5

    DownloadsWeekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • avatar