A npms.io API client. For a documentation on the API see https://api-docs.npms.io/.
Run yarn add npms.io
or npm install npms.io
.
A complete documentation is available at https://ffflorian.github.io/api-clients/packages/npms.io/.
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 => {
...
});
yarn
yarn dist