Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 792 Bytes

readme.md

File metadata and controls

37 lines (21 loc) · 792 Bytes

fetch cleaned package metadata from the npm registry.

Install

$ npm install --save fetch-nice-package

Usage

const fetchNicePackage = require('fetch-nice-package');

fetchNicePackage('nice-package')
.then(info => console.log(info))
.catch(err => console.error(err))

P.S: info will have all the convenience-methods that nice-package has.

API

fetchNicePackage(input)

input

Type: string

Node module name.

License

MIT © Hemanth.HM