coffee-file-compile
.coffee compile
Last updated 6 years ago by iganoneko .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install coffee-file-compile 
SYNC missed versions from official npm registry.

サンプル

ファイル単位

var coffee = require('compile-coffee');

coffee.compileFile("input.coffee","output.js",{bare: true}).then(
	function(){
		console.log("success");
	},
	function(){
		console.log("error");
	}
);

ディレクトリ単位

var coffee = require('compile-coffee');

coffee.compileDir("srcdir","destdir",{bare:false}).then(
	function(){
		console.log("success");
	},
	function(){
		console.log("error");
	}
);

Current Tags

  • 0.0.4                                ...           latest (6 years ago)

3 Versions

  • 0.0.4                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (5)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |