Generate the npm package manifest (package.json
) from the dependencies used by your package files.
The recommended way to install Package Manifest Generator is to install it globally from its npm package.
npm i package-manifest-generator -g
Once installed, Package Manifest Generator exposes a command-line script named pmg
, capable of generating the npm package manifest from the dependencies used by your package files.
pmg -e lib/**/*.mjs
Help can be displayed by passing the --help
flag to pmg
.
pmg --help
To get the most of Package Manifest Generator, it is strongly recommended to read its documentation.
Copyright © 2024 Eric MORAND. Released under the ISC License.