0.0.2 • Published 8 months ago
@gmjs/package-json v0.0.2
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 thepackage.json
file.
- Description - Reads and parses the
readPackageJsonSync(packageJsonDirectory: string): PackageJson
- Description - Reads and parses the
package.json
file in the given directory (synchronously). - Parameters
packageJsonDirectory
- The directory containing thepackage.json
file.
- Description - Reads and parses the