ssp-tarino
v0.1.2
Published
A tar implementation with Node.js.
Downloads
4
Readme
tarino
:package: A tar implementation with Node.js.
Install
npm install ssp-tarino --production
Tests
If you want to run the tests, install without --production
flag
and then run:
npm test
Usage
'use strict'
const tarino = require('ssp-tarino')
tarino.createTar('control.tar', 'control') // --> Create regular Tar.
tarino.extractTar('control.tar') // --> Extract regular Tar.
tarino.createTarGz('control.tar.gz', 'control') // --> Create gzipped Tar.
tarino.extractTarGz('control.tar.gz') // --> Extract gzipped Tar.
Other requirements
If you wish to make use of the native-addon. Your system will need:
- node-gyp
- Python 2.7+ (not 3.0+)
- A C++11 compiler (e.g. g++ 4.8+)
License
Tarino is dual licensed under the GNU General Public License and MIT licenses respectively.