0.0.3 • Published 7 months ago

dependencyhealth v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Node.js Client Library for Dependency Health API

Dependency Health provides data about open-source package health. It could be used in a CI/CD pipeline or as an IDE plugin.

Installation

npm install dependencyhealth

Usage

import {DependencyHealthNPMClient} from 'dependency_health'

let dh = new DependencyHealthNPMClient(process.env.DH_API_KEY);
await dh.login();

let packageInfo = await HealthCheck._client.get('@angular/core');
console.log(packageInfo);
{
  "age": 7,
  "versions": 711,
  "maintainers": 2,
  "dependencies": 1,
  "health": 95,
  "security": "no known security issues",
  "popularity": "key ecosystem project",
  "maintenance": "healthy",
  "community": "active",
  "name": "@angular/core",
  "updated_at": "2023-07-14T13:37:37.573865Z"
}
0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago