browserify v2 plugin to compile coffee-script automatically
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
test
.travis.yml
LICENSE
index.js
package.json
readme.markdown

readme.markdown

coffeeify

Development of coffeeify has moved. Please refer to https://github.com/jnordberg/coffeeify for updates and to report issues.

browserify v2 plugin for coffee-script

mix and match .coffee and .js files in the same project

important: when using require('path/to/file.coffee') remember to use .coffee extension

build status

example

given some files written in a mix of js and coffee:

foo.coffee:

console.log(require './bar.js')

bar.js:

module.exports = require('./baz.coffee')(5)

baz.coffee:

module.exports = (n) -> n * 111

install coffeeify into your app:

$ npm install coffeeify

when you compile your app, just pass -t coffeeify to browserify:

$ browserify -t coffeeify foo.coffee > bundle.js
$ node bundle.js
555

install

With npm do:

npm install coffeeify

license

MIT

maintainers wanted

I am not a coffee-script user so if you use this plugin regularly and want to take it over I will gladly add you as a maintainer on npm.