🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

hashpac

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hashpac

Hash publishable NPM package content

latest
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

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

Keywords

hash

FAQs

Package last updated on 03 Jul 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