Skip to content

slivcode/npms-client-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npms-client-service

usage

const c = new Container();
c.bind(NpmsClientService).toSelf().inSingletonScope();
c.bind('fetch').toConstantValue(window.fetch);
c.get(NpmsClientService).search({q: "react", keywords: ["dom"], from: 0, size: 250})
.then(({total, results}) => {
});

implemented search, suggestion, info.

api endpoint: https://api.npms.io/v2

api docs: https://api-docs.npms.io/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published