0.1.2 • Published 4 years ago

@susisu/ppp v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

ppp - package.json pretty printer

CI

A package information viewer alternative to npm-view.

npm i -g @susisu/ppp

Usage

# show package information on npm
ppp <pkg>
# or of a local one
ppp < package.json

Options

  • -f, --include-field <name>: Include an additional field. This option is repeatable. See Configurations or -h, --help for the list of available field names.
  • -x, --exclude-field <name>: Exclude a field. This option is repeatable.
  • -w, --wrap <int>: Wrap output to the specified size. This overrides the setting of the configurations file.

Configurations

You can place ~/.config/ppp/config.yaml to customize output fields and text wrapping size. The default configurations are as follows:

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

License

MIT License

Author

Susisu (GitHub, Twitter)

0.1.2

4 years ago

0.1.0

4 years ago

0.1.1

4 years ago

0.0.6

5 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago