0.2.0 • Published 4 years ago

wasm-toml-js v0.2.0

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

TOML format for Node.js

Build Status

NPM

If you haven't heard of TOML, well you're just missing out. Go check it out now. Back? Good.

TOML Spec Support

wasm-toml-js supports version 0.5.0 the TOML spec as specified by mojombo/toml@v0.5.0

Installation

wasm-toml-js is available via npm.

npm install wasm-toml-js

Usage

const { parse, stringify } = require("../pkg");
const assert = require("assert");
const tomlContent = `title = 'TOML Example'

[owner]
name = 'Tom Preston-Werner'
`
const jsonValue = parse(tomlContent); 
const tomlString = stringify(jsonValue);

assert.deepEqual(tomlContent, tomlString);

License

wasm-toml-js is licensed under the MIT license agreement. See the LICENSE file for more information.

0.2.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago