Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including grunt-handlebars-js with all npm packages installed. Try it out:

var gruntHandlebarsJs = require("grunt-handlebars-js")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

grunt-handlebars-js v0.1.2

Precompile handlebars templates.

grunt-handlebars

Precompile handlebars templates. Written in 100% pure JS.

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-handlebars-js

Then add this line to your project's grunt.js gruntfile:

Usage:


  grunt.initConfig({
      handlebars: {
          'dest.js': [ 'client/lib/**.handlebars' ]
      },

      /* ... */

  });

  grunt.loadNpmTasks('grunt-handlebars-js');

Documentation

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

(Nothing yet)

License

Copyright (c) 2012 Karl Gyllstrom
Licensed under the MIT license.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free