Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

get-pkgs

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-pkgs

Get the package.json for an array of repos from the npm registry, optionally filtering properties using glob patterns.

Source
npmnpm
Version
0.5.0
Version published
Weekly downloads
110
-44.72%
Maintainers
1
Weekly downloads
 
Created
Source

get-pkgs NPM version NPM downloads Build Status

Get the package.json for an array of repos from the npm registry, optionally filtering properties using glob patterns.

Install

Install with npm:

$ npm install get-pkgs --save

Usage

var getPkgs = require('get-pkgs');

getPkgs(['assemble', 'verb'], function(err, pkgs) {
  console.log(pkgs);
});

You might also be interested in these projects:

  • get-first-commit: Returns a git repository's first commit as a JavaScript object. | homepage
  • get-pkg: Get the package.json for a project from npm. | homepage
  • github-base: Base methods for creating node.js apps that work with the GitHub API. | homepage

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Building docs

Generate readme and API documentation with verb:

$ npm install verb && npm run docs

Or, if verb is installed globally:

$ verb

Running tests

Install dev dependencies:

$ npm install -d && npm test

Author

Jon Schlinkert

License

Copyright © 2016, Jon Schlinkert. Released under the MIT license.

This file was generated by verb, v0.9.0, on April 11, 2016.

Keywords

get

FAQs

Package last updated on 11 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts