Pack npm modules.
npm install npm-packist
const npmPackist = require("npm-packist");
(async () => {
await npmPackist(".")
//=> 'C:\\Users\\richi\\Documents\\GitHub\\npm-packist\\the-module-v0.0.0.tgz'
})()
Type: string
The directory to pack the modules from.
Type: object
Type: string
Default: (Generated from package name and version)
The filename to save the tgz file as.