Skip to content

Latest commit

 

History

History

npms.io

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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