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.4.0
Version published
Weekly downloads
137
-22.6%
Maintainers
1
Weekly downloads
 
Created
Source

get-pkgs NPM version 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 i get-pkgs --save

Usage

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

getPkgs(['assemble', 'verb'], function(err, pkgs) {
  console.log(pkgs);
});
  • 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

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

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

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.

This file was generated by verb-cli on November 22, 2015.

Keywords

get

FAQs

Package last updated on 12 Feb 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