Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
65 lines (40 sloc) 1.18 KB

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.