New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

npm-tar

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-tar

Pack npm module with npm-pack specs tar bundle.

latest
npmnpm
Version
1.0.1
Version published
Weekly downloads
522
62.11%
Maintainers
1
Weekly downloads
 
Created
Source

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
  })

Keywords

npm

FAQs

Package last updated on 01 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts