@ngx-maintenance/npm-api
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

@ngx-maintenance/npm-api

Overview

@ngx-maintenance/npm-api is a strongly typed API SDK for the npm registry API, providing easy access to various endpoints and functionalities.

Installation

To install @ngx-maintenance/npm-api, simply run:

npm install @ngx-maintenance/npm-api

Usage

import { fetchNpmApi, findCompatibleVersion } from '@ngx-maintenance/npm-api';

// Fetch registry information
const registryInfo = await fetchNpmApi('/');

// Find compatible version for a package
const compatibleVersion = await findCompatibleVersion('packageName', 'versionRange', 'peerDependency');

Readme

Keywords

none

Package Sidebar

Install

npm i @ngx-maintenance/npm-api

Weekly Downloads

1

Version

0.1.1

License

none

Unpacked Size

17.6 kB

Total Files

18

Last publish

Collaborators

  • jordan-hall
  • danielglejzner