Read a package json file
npm install get-package-json-file   

> Read a package json file

``sh`
pnpm install get-package-json-fileOR
npm install get-package-json-fileOR
yarn add get-package-json-file

`jsimport
// Use ESM statement syntax.
import getPackageJson from 'get-package-json-file';
// OR use CommonJS require syntax.
const getPackageJson = require('get-package-json-file');
// Get the package.json of the current working directory.
const pkgJson = await getPackageJson();
// This is same as.
const pkgJson = await getPackageJson(./package.json);
// Get the package.json of a specific directory e.g. one level up.
const pkgJson = await getPackageJson(./../package.json);`

#### ⯠input
Path to the package.json file as a string.
Type: string./package.json
Default: (optional)
You can specify the options below.

⯠Read the changelog here ā
KEY: š¦ NEW, š IMPROVE, š FIX, š DOC, š RELEASE, and š¤ TEST`
> _I use Emoji-log, you should try it and simplify your git commits._

- MIT Ā© Ahmad Awais
- Code of Conduct

(follow) To stay up to date on free & open-source software
(follow) To get #OneDevMinute daily hot tips & trolls
(subscribe) To tech talks & #OneDevMinute videos
(read) In-depth & long form technical articles
(connect) On the LinkedIn profile y'all

Me (Ahmad Awais) and my incredible wife (Maedah Batool) are two engineers who fell in love with open source and then with each other. You can read more about me here. If you or your company use any of my projects or like what Iām doing then consider backing me. I'm in this for the long run. An open-source developer advocate.

> This repository is part of the [NodeCLI.com][n] course.
After building hundreds of developer automation tools used by millions of developers, I am sharing exactly how you can do it yourself with minimum effective effort. Learn to build Node.js & JavaScript based CLI (Command Line Interface) apps. Automate the grunt work, do more in less time, impress your manager, and help the community.
ā I'm sharing it all in this online video course. [Node CLI Automation
without wasting a 1,000 hours][n] ā
![Node CLI][n]
[n]: https://NodeCLI.com?utm_source=github&utm_medium=referral&utm_campaign=ahmadawais/cli-meow-help
