node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »



Compile TypedCoffeeScript files to JavaScript with the TypedCoffeeScript compiler.

Getting Started

If you haven't used grunt before, be sure to check out the Getting Started guide, as it explains how to create a gruntfile as well as install and use grunt plugins. Once you're familiar with that process, install this plugin with this command:

npm install grunt-typed-coffee-script --save-dev

TypedCoffeeScript task

Run this task with the grunt typedcoffee command.

This task is a multi task so any targets, files and options should be specified according to the multi task documentation.



Type: boolean

Default: no

Compile the JavaScript without the top-level function safety wrapper.


Type: boolean

Default: no

Create a source map and a CoffeeScript file with all concatenated sources in the same folder as the target JavaScript file.

The source map will be named like this: #{targetJsFileName}map.json, e.g.: helloworld.jsmap.json.

The CoffeeScript file with all concatenated sources will be named like this: #{targetJsFileName}.coffee, e.g.:

Example Configuration

    bare: false
    sourceMap: true
      'tmp/helloworld.js': [

This configuration will create following files in the tmp folder:

  • This is the result of the concatenation of the files and

  • helloworld.jsmap.json: The source map who is pointing to the

  • 'helloworld.js': Is the to JavaScript compiled version of the file.

Release History

  • 2013-02-10   v0.2.4   Fork for typed-coffee-script
  • 2013-02-10   v0.2.2   Fixed error logging
  • 2013-02-10   v0.2.1   Updated coffee redux dependency to 2.0.0beta2 Updated grunt-contrib-internal to get working links in the
  • 2013-01-19   v0.2.0   Show in which file a parse error has happened.
  • 2013-01-19   v0.1.0   Initial npm release

Task submitted by mizchi