New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

packity

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

packity

Sanity test for installed node modules of a package

0.3.4
Source
npm
Version published
Weekly downloads
2.3K
-29.54%
Maintainers
4
Weekly downloads
 
Created
Source

packity

Sanity check of installed packages as per package.json

Usage

CLI

npm install packity@beta -g;
packity check <module-folder>

use packity check --help for more CLI options

Module

var packity = require('packity');
packity({ path: 'my-path', dev: true}, function (err, results) {
	// results look like
	// {
	//   "package": {} // name, version, dependencies
	//   "installed": {} // list of installed modules
	//   "status": {} // status of package dependencies with 'message', 'code', 'ok' keys.
	// }
	console.log(results);
});

Keywords

npm

FAQs

Package last updated on 10 Jan 2022

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