upd

2.9.6 • Public • Published

UPD

Upgrade NPM Package Dependencies

github (author stars) github (author followers)
npm (project release) npm (project downloads)

Abstract

This is a small Command-Line Interface (CLI) for upgrading the JavaScript package dependencies in an Node Package Manager (NPM) package.json configuration file while strictly preserving the formatting of the existing JSON syntax and intentionally skipping version constraint formulas.

Example

UPD usage

Installation

$ npm install -g upd

Usage

$ upd [-h] [-V] [-q] [-n] [-C] [-f <file>] [-g] [-a] [-c <concurrency>] [<pattern> ...]
  • -h, --help
    Show usage help.
  • -V, --version
    Show program version information.
  • -q, --quiet
    Quiet operation (do not output upgrade information).
  • -n, --nop
    No operation (do not modify package configuration file).
  • -C, --noColor
    Do not use any colors in output.
  • -f <file>, --file <file>
    Package configuration to use ("package.json").
  • -g, --greatest
    Use greatest version (instead of latest stable one).
  • -a, --all
    Show all packages (instead of just updated ones).
  • -c <concurrency>, --concurrency <concurrency>
    Number of concurrent network connections to NPM registry.
  • <pattern>
    Positive or negative (if prefixed with !) Glob pattern for matching names of dependencies to update.

License

Copyright © 2015-2024 Dr. Ralf S. Engelschall (http://engelschall.com/)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Dependencies (15)

Dev Dependencies (5)

Package Sidebar

Install

npm i upd

Weekly Downloads

519

Version

2.9.6

License

MIT

Unpacked Size

72.2 kB

Total Files

8

Last publish

Collaborators

  • rse