Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@toycode/xml2json-cli

0.9.4 • Public • Published

mastodon-auth-cli

conver XML to JSON (using xml2js) cli

Installing

npm install -g @toycode/xml2json-cli

## Usage

```sh
xml2json [-n] [input file] [output file]

n is indent level

if output file is ommitted output to stdout.

if both input file and output file are omitted read input and output to stdout.

example

echo 'HelloWorld' | xml2json -4

LICENSE

MIT

Install

npm i @toycode/xml2json-cli

DownloadsWeekly Downloads

3

Version

0.9.4

License

MIT

Unpacked Size

4.7 kB

Total Files

8

Last publish

Collaborators

  • avatar