json2toml

JSON to TOML converter

npm install json2toml
1 downloads in the last week
12 downloads in the last month

json2toml

Build Status Dependency Status

Convert JSON to TOML.

Example

var json2toml = require('json2toml');

json2toml({simple: true});
// => 'simple = true\n'

Installation

$ npm install json2toml

API

var json2toml = require('json2toml');

json2toml(hash)

Converts an Object hash to TOML, and returns the result as a String.

npm loves you