browserify v2 plugin for coco
mix and match .co
and .js
files in the same project
important: when using require('path/to/file.co') remember to use .co extension
given some files written in a mix of js
and co
:
foo.co:
console.log(require './bar.js')
bar.js:
module.exports = require('./baz.co')(5)
baz.co:
module.exports = (n) -> n * 111
install cocoify into your app:
when you compile your app, just pass -t cocoify
to browserify:
$ browserify -t cocoify foo.co > bundle.js
$ node bundle.js
555
With npm do:
MIT
I am no longer a coco user so if you use this plugin regularly and want to take it over I will gladly add you as a maintainer on npm.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4