Skip to content
/ es-tar Public

include `#include` extend-script file to standalone executable extend-script

Notifications You must be signed in to change notification settings

nbqx/es-tar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

es-tar

include #include extend-script file to standalone executable extend-script

usage

// $ npm install es-tar
var fs = require('fs');
var estar = require('es-tar');

var jsxPath = __dirname+'/jsx/test.jsx';
var out = __dirname+'/build.jsx';

// stream
estar(jsxPath,{encoding:'utf8'})
  .pipe(fs.createWriteStream(out));

// sync
console.log(estar.sync(jsxPath,{encoding:'utf8'}));

or

$ npm install -g es-tar
$ es-tar jsx/test.jsx // => stdout
$ es-tar jsx/test.jsx -o build.jsx

or with fakestk

$ es-tar jsx/test.jsx | fakestk

About

include `#include` extend-script file to standalone executable extend-script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published