npm-tar

1.0.1 • Public • Published

npm-tar

A Packer for npm module with npm-pack specs tar bundle. inspired by npm-pack

Author: Allex Wang (allex.wxn@gmail.com)

Usage

// promisify
const tarPack = BB.promisify(require('npm-tar').pack)
 
const target = 'foo.tgz'
const pkg = require('./package.json')
 
tarPack(target, dir, pkg)
  .then(() => {
    // done
  })

Readme

Keywords

Package Sidebar

Install

npm i npm-tar

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • allex