@gmjs/package-json
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Package Json Utilities

Utilities for reading package.json files.

Installation

npm install --save @gmjs/package-json

Functions

  • readPackageJsonAsync(packageJsonDirectory: string): Promise<PackageJson>
    • Description - Reads and parses the package.json file in the given directory (asynchronously).
    • Parameters
      • packageJsonDirectory - The directory containing the package.json file.
  • readPackageJsonSync(packageJsonDirectory: string): PackageJson
    • Description - Reads and parses the package.json file in the given directory (synchronously).
    • Parameters
      • packageJsonDirectory - The directory containing the package.json file.

Readme

Keywords

none

Package Sidebar

Install

npm i @gmjs/package-json

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

9.24 kB

Total Files

16

Last publish

Collaborators

  • mrzli