toml2js

1.0.0 • Public • Published

toml2js

A command-line utility to convert TOML to JSON.

NPM

Installation

npm install -g toml2js

Usage

$ toml2js test/simple.toml
{
  "foo": "bar",
  "anArray": [
    1,
    3,
    5,
    7
  ],
  "bool": true,
  "one": 1
}

EXIT STATUS

The toml2js utility exits with one of the following values:

Code Description
0 input was parsed successfully.
1 failed to parse input.
2 An error occurred while reading input.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i toml2js

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • kosmasgiannis