viewport-list-cli
Return a list of devices and their viewports.
viewport-list-cli is a command‑line utility that outputs the viewport dimensions for a set of device names. It can be invoked without arguments to list all known devices, or with one or more device identifiers to retrieve only those entries. Input can also be supplied via standard input, allowing the tool to process a file or piped list of device names.
The program prints the results in a simple text format, and an optional `--pretty` (or `-p`) flag formats the output as a table for easier reading. It is distributed as an npm package and can be installed globally, making the command available from any terminal session.
The CLI acts as a thin wrapper around the underlying `viewport-list` API, exposing the same device‑to‑viewport mapping in a convenient shell‑friendly form. It is released under the MIT license and is considered stable for developer use.
Reviews
Loading reviews…
Similar apps
Terminals & CLI
npm-user-cli
Get user info of a npm user.
Terminals & CLI
mobisplash-cli
Mobile app splash screen generator.
Terminals & CLI
mobicon-cli
Mobile app icon generator.
Terminals & CLI
get-port-cli
Get an available port.
Terminals & CLI
strip-json-comments-cli
Strip comments from JSON.
Terminals & CLI
parse-columns-cli
Parse text columns to JSON.