3.0.2 • Published 3 years ago

left-phalange v3.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

left-phalange

Convert data between YAML, TOML, JSON, JSON5, INI, CSV, ES Module, CommonJS

Quick Overview

echo left="phalange" | npx left-phalange --input toml --pretty

Install

npm install --global left-phalange

Usage

lp --help

  Usage
    left-phalange <file>
    lp <file>

  Options
    -i, --input           Input Data type
    -o, --output          Output Data type
    -p, --pretty          Pretty output
    -C, --copy            Copy output to clipboard
    -h, --help            Show this help info
    -v, --version         Show version

  Examples
    lp data.toml > data.json
    cat data.yaml | lp -p

Options

input

  • yaml (default value for Stdin, YAML is superset of JSON, so it should work for JSON as well)
  • json
  • ini
  • js (CommonJS or ESModule, file only, not stdin)
  • json5
  • toml
  • csv
  • esm (ESModule, file only, not stdin)
  • cjs (CommonJS, file only, not stdin)

output

  • json (default)
  • yaml
  • ini
  • json5
  • toml
  • csv
  • cjs
  • esm

Related

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.0

3 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago