0.2.1 • Published 2 years ago

@lunjs/toml v0.2.1

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

@lunjs/toml

The module passes the TOML test suite, except for the following three test case:

Compatible with TOML version v1.0.0.

Installation

npm install @lunjs/toml

Usage

import * as fs from 'fs';
import * as TOML from '@lunjs/toml';

const source = fs.readFileSync('/path/to/file.toml', { encoding: 'utf-8' });
const config = TOML.parse(source);
console.log(config);

License

MIT

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago