hashpac
v1.1.0
Published
Hash publishable NPM package content
Downloads
3
Readme
hashpac
Hash publishable NPM package content
CLI Installation
npm install -g hashpac
CLI Usage
# use current dir as npm lib
hashpac > .hashes
# specify custom npm lib dir
hashpac ~/my-npm-lib > .hashes
Lib Installation
npm install -S hashpac
Lib Usage
const {hashpac} = require('hashpac');
console.log(hashpac({
cwd: process.cwd(),
packageJson: path.join(process.cwd(), 'package.json'),
npmIgnore: path.join(process.cwd(), '.npmignore')
}))