1.0.3 • Published 4 months ago

@jswork/read-pkg-json v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

read-pkg-json

Read package.json file.

version license size download

installation

npm install @jswork/read-pkg-json

usage

import readPkgJson from '@jswork/read-pkg-json';

// 1. current dir
const pkg = readPkgJson();
// 2. specify dir
const pkg = readPkgJson('path/to/your/project');

types

/// <reference types="@jswork/read-pkg-json/global.d.ts" />

license

Code released under the MIT license.

1.0.3

4 months ago

1.0.2

4 months ago

1.0.1

4 months ago