Socket
Book a DemoInstallSign in
Socket

polyrepo-update

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polyrepo-update

Bulk update packages

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

polyrepo-update experimental

NPM version build status Test coverage Downloads js-standard-style

Bulk update packages. Currently only lists which packages are out of date.

Installation

$ npm install polyrepo-update

Usage

From the CLI:

Usage: polyrepo-update [options]

Options:
  -h, --help        Output usage information
  -v, --version     Output version number

Examples:
  $ polyrepo-update          # update repos in current dir
  $ ls . | polyrepo-update   # update a list of repos

Docs: https://github.com/polyrepo/polyrepo-update
Bugs: https://github.com/polyrepo/polyrepo-update/issues

From Node:

const update = require('polyrepo-update')
const json = require('JSONStream')

// takes a list of directories
process.stdin
  .pipe(update())
  .pipe(json.stringify())
  .pipe(process.stdout)

API

transformStream = polyrepoUpdate()

Take a list of directories and check if the dependencies in its package.json are up to date. Outputs an object, make sure to stringify it before passing it to process.stdout.

Contributors

License

MIT

Keywords

bulk

FAQs

Package last updated on 19 Sep 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