Skip to content

kesla/get-npm-registry-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

getNpmRegistryPackage

Get a npm regsitry package, an instance of the documents saved in the registry db.

Features

  • Uses registry set in .npmrc
  • Supports scoped packages
  • Uses auth token if possible

library

npm install [--save] get-npm-registry-package
import getNpmRegistryPackage from 'get-npm-registry-package';

getNpmRegistryPackage('@foo/bar')
  .then(json => console.log(json));

cli

npm install -g get-npm-registry-package

get-npm-registry-package @foo/bar

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •