Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Package tarballs with options
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test Initial logic
.gitignore Initial logic
README.md Update readme
index.js feature: emit files as they are packed
package.json version: bump to 0.2.1

README.md

tarzan

Package tarballs with options

Install

npm install tarzan --save

Usage

var fs = require('fs');
var tarzan = require('tarzan');
var write = fs.createWriteStream('path/to/package.tar');

var pack = tarzan({
  directory: 'path/to/somewhere',
  ignore: ['**/node_modules']
});

pack.pipe(write);

Options

  • directory - the directory to package
  • ignore - an array of file globs to skip when packaging files

Run Tests

npm install
npm test
Something went wrong with that request. Please try again.