/atool-pack

Primary LanguageJavaScript

atool-pack

NPM version


"npm pack + extract" tool

cli:

$ npm install -g atool-pack
$ atool-pack module dir

eg:

$ atool-pack rcf ./

api

var pack = require("atool-pack");
pack(module, dir);

eg:

pack('rcf', './').then(() => {
  console.log('success');
}).catch(err => {
  conole.log(err);
})

License

Component is released under the MIT license.