Skip to content
package.json pretty printer
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
.eslintrc.json
.gitignore
.travis.yml
LICENSE
README.md
jest.config.js
package.json
yarn.lock

README.md

ppp - package.json pretty printer

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, --add-field <name>: Print an additional field. This option is repeatable. See Configurations for the list of available field names.
  • -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)

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.