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.2.1
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 with npm

npm i get-pkgs --save

Usage

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

// filter out properties like `_shasum`
get(['assemble', 'verb'], '!_*', function(err, pkgs) {
  console.log(pkgs);
});
  • filter-object: Return a copy of an object, filtered to have only keys that match the given… more
  • helper-related: Template helper for generating a list of links to the homepages of related GitHub/npm projects.
  • helper-reflinks: Template helper for generating a list of markdown formatted reference links to github repos for… more

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 (c) 2015 Jon Schlinkert Released under the MIT license.

This file was generated by verb-cli on April 26, 2015.

Keywords

get

FAQs

Package last updated on 27 Apr 2015

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