Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ pkgstat Public

πŸ”₯ a universal pkg metadata extraction module for different languages and package managers

License

Notifications You must be signed in to change notification settings

prdpx7/pkgstat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

10 Commits

Repository files navigation

pkgstat

Get metadata of package from node, python and ruby.

Build Status MITlicensed

Install

$ npm install --save pkgstat

Usage

const pkgstat = require('pkgstat');
pkgstat("django", "python")
 .then(resp => {
 console.log(resp);
 /*
 { 
 name: 'Django',
 author: 'Django Software Foundation',
 description: 'A high-level Python Web framework....',
 url: 'http://pypi.python.org/pypi/Django',
 source: 'https://www.djangoproject.com/',
 license: 'BSD',
 version: '1.11rc1',
 statusCode: 200 
 }
 */
 });
pkgstat("somePkgWhichDoesNotExist","node")
 .then(resp => {
 console.log(resp);
 //{statusCode: 404}
 });
pkgstat("request","ruby")
 .then(resp => {
 console.log(resp);
 /*
 {
 name: 'request',
 author: 'Markus Schirp',
 description: 'HTTP request porofication',
 url: 'https://rubygems.org/gems/request',
 source: null,
 license: 'MIT',
 version: '0.0.6',
 statusCode: 200 
 }
 */
 });

About

πŸ”₯ a universal pkg metadata extraction module for different languages and package managers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /