npms.io
TypeScript icon, indicating that this package has built-in type declarations

2.2.9 • Public • Published

npms.io npm version

A npms.io API client. For a documentation on the API see https://api-docs.npms.io/.

Installation

Run yarn add npms.io or npm install npms.io.

Usage

A complete documentation is available at https://ffflorian.github.io/api-clients/packages/npms.io/.

Example

import {NpmsIO} from 'npms.io';

const npmsIO = new NpmsIO();

npmsIO
  .api.search.searchPackage('npms.io')
  .then(data => {
    ...
  });

npmsIO
  .api.search.getSuggestions('npms.io')
  .then(data => {
    ...
  });

npmsIO
  .api.package.packageInfo('npms.io')
  .then(data => {
    ...
  });

npmsIO
  .api.package.multiPackageInfo('npms.io')
  .then(data => {
    ...
  });

Build

yarn
yarn dist

Readme

Keywords

Package Sidebar

Install

npm i npms.io

Weekly Downloads

24

Version

2.2.9

License

GPL-3.0

Unpacked Size

60.5 kB

Total Files

39

Last publish

Collaborators

  • ffflorian