0.1.1 • Published 11 years ago

coffeescript_compiler_tools v0.1.1

Weekly downloads
8
License
-
Repository
github
Last release
11 years ago

#Coffeescript Compiler Tools

A collection of tools to compile Coffeescript source code into JavaScript functions.

Installation

Install like any other NPM module by adding it to package.json, doing an npm install.

Usage

compile_function

Compiler = require 'coffeescript_compiler_tools'

source = '(param) -> "The param is #{param}."'
result = Compiler.compile_function source
result('foo')   # => "The param is foo."