1.0.0 • Published 4 years ago

npm-packist v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

NPM Packist Travis CI Build Status

Pack npm modules.

NPM Badge

Install

npm install npm-packist

Usage

const npmPackist = require("npm-packist");

(async () => {
	await npmPackist(".")
	//=> 'C:\\Users\\richi\\Documents\\GitHub\\npm-packist\\the-module-v0.0.0.tgz'
})()

API

npmPackist(cwd?, options?)

cwd

Type: string

The directory to pack the modules from.

options

Type: object

fileName

Type: string\ Default: (Generated from package name and version)

The filename to save the tgz file as.