package.json pretty printer
npm install @susisu/pppA package information viewer alternative to npm-view.
`` shell`
npm i -g @susisu/ppp
shell
show package information on npm
ppp
or of a local one
ppp < package.json
`$3
- -f, --include-field : Include an additional field. This option is repeatable. See Configurations or -h, --help for the list of available field names.
- -x, --exclude-field : Exclude a field. This option is repeatable.
- -w, --wrap : Wrap output to the specified size. This overrides the setting of the configurations file.$3
You can place ~/.config/ppp/config.yaml to customize output fields and text wrapping size. The default configurations are as follows:` yaml
fields:
- name
- version
# - installed
- description
# - keywords
- license
- author
# - maintainers
- homepage
# - npm
# - repository
# - tarball
# - shasum
# - module
# - types
- binaries
- engines
- os
- cpu
# - dependencies
- peerDependencies
# - optionalDependencies
# - devDependencies
- tags
wrap: 80
``