0.0.4 • Published 9 years ago

compilestream v0.0.4

Weekly downloads
12
License
MIT
Repository
github
Last release
9 years ago

compilestream

Build Status

提供一个将常用的预编译语言转换为流的功能,可以像写gulp脚本一样以流的方式写些预编译语言的编译过程。

例如需要编译一个coffee文件,只需

coffeeOpts = { bare: true } # 每个编译器自己的配置
compilestream = require('compilestream')
fs.createReadStream('a.coffee')
.pipe(compilestream.coffee(coffeeOpts))
.pipe(fs.createWriteStream('a.js'))

支持的预编译语言

compilestream 默认提供常用的编译语言的流

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago