GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - prdpx7/pkgstat: :fire: a universal pkg metadata extraction module for different languages and package managers

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
index.js
index.js
 
 
package.json
package.json
 
 
readme.md
readme.md
 
 
test.js
test.js
 
 

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

nodejspackage-metadatapackage-searchpypi-packagesrubygems

Resources

Readme
MIT license
Activity

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.