hashpac

1.1.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i hashpac

Weekly Downloads

1

Version

1.1.0

License

MIT

Last publish

Collaborators

  • nkbt