@finos/perspective-cli
TypeScript icon, indicating that this package has built-in type declarations

3.0.3 • Public • Published

Perspective CLI

Usage: perspective [options] [command]

A convenient command-line client for Perspective.js.  Can convert between Perspective supported format, or host a local web server.

Options:
  -V, --version                 output the version number
  -h, --help                    output usage information

Commands:
  convert [options] [filename]  Convert a file into a new format.  Reads from STDIN if no filename is provided
    Options:
    -f, --format <format>    Which output format to use:  arrow, csv, columns, json.
    -o, --output <filename>  Filename to write to.  If not supplied, writes to STDOUT
    -h, --help               output usage information

  host [options] [filename]     Host a file on a local Websocket/HTTP server using a server-side Perspective.  Reads from STDIN if no filename is provided
    Options:
      -p, --port <port>  Which port to bind to (default: 8080)
      -o, --open         Open a browser automagically
      -h, --help         output usage information

Dependencies (8)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @finos/perspective-cli

    Weekly Downloads

    528

    Version

    3.0.3

    License

    Apache-2.0

    Unpacked Size

    24.7 kB

    Total Files

    7

    Last publish

    Collaborators

    • finos-admin
    • maoo
    • texodus
    • neil.slinger