nar
gulp-Installation
Install nar
as global package
$ npm install -g nar
Install the task
$ npm install gulp-nar --save-dev
Usage
var gulp = var nar = gulp gulp gulp
See gulpfile.js for more examples
API
nar.create(path, options)
Creates an archive according to the package.json
configuration
- path
string
Destination directory for the nar archive. Default to current directory - options
object
Archive creation options
nar.createExecutable(path, options)
Creates an executable binary-like archive
- path
string
Destination directory for the nar archive. Default to current directory - options
object
Executable creation options
nar.extract(path, options)
Extract archive content into a directory
- path
string
Destination directory for the extracted files. Default to current directory - options
object
Archive extract options
License
MIT © Tomas Aparicio