unpkg-json

0.0.6 • Public • Published

unpkg-jsonBuild Status

Get metadata of a package from unpkg.com

Install

$ npm install --save unpkg-json

Usage

const unpkgJson = require('unpkg-json');
 
unpkgJson('dpndon').then(json => {
    console.log(json);
    //=> {name: 'dpndon', ...}
});
 

API

unpkgJson(name)

name

Type: string

Name of the package.

License

MIT

Author

Kotaro Takahashi@k4h4shi

/unpkg-json/

    Package Sidebar

    Install

    npm i unpkg-json

    Weekly Downloads

    0

    Version

    0.0.6

    License

    MIT

    Last publish

    Collaborators

    • k4h4shi