automerge-cli

1.0.2 • Public • Published

Automerge CLI

Utilities for working with Automerge files/objects.

Installation

$ npm i -g automerge-cli

Usage

To pretty-print the contents of a file foo.automerge:

$ automerge-cli foo.automerge

To get JavaScript file:

$ automerge-cli foo.automerge > foo.js

To get regular JSON:

$ automerge-cli --json foo.automerge

To create a JSON file:

$ automerge-cli --json foo.automerge > foo.json

To get JSON5:

$ automerge-cli --json5 foo.automerge

To get a JSON5 file:

$ automerge-cli --json5 foo.automerge > foo.json5

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i automerge-cli

    Weekly Downloads

    0

    Version

    1.0.2

    License

    (MIT OR GPL-3.0)

    Unpacked Size

    2.68 kB

    Total Files

    3

    Last publish

    Collaborators

    • ethanbrown