package-json-helper
TypeScript icon, indicating that this package has built-in type declarations

6.0.1 • Public • Published

Package logo

Build Status npm Standard Shared Config

Package.json helper - reads / writes / controls 📦

Install

npm install package-json-helper --save-dev

Usage

import { Package } from 'package-json-helper';

const pkg = new Package();

await pkg.read();

pkg.name = 'awesome-package-name';
pkg.version = '0.9.0';

await pkg.save();
await pkg.install(
  new Map([
    ['eslint', '8.x'],
    ['jest', '27.x'],
  ]),
  ['--save-dev']
);

Examples

standard-shared-config - Easy way to create and share your boilerplate configs. One shared config to rule them all:loop::package:

API

Read the API documentation for more information.

/package-json-helper/

    Package Sidebar

    Install

    npm i package-json-helper

    Weekly Downloads

    32

    Version

    6.0.1

    License

    MIT

    Unpacked Size

    59.2 kB

    Total Files

    50

    Last publish

    Collaborators

    • keindev