Skip to content

marioa5945/toml-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

toml-json

Convert TOML files to JSON.

  • convention over configuration
  • concise yet expressive

Installation

# Locally in your project
yarn add toml-json --dev

npm install -D toml-json

Usage

import tomlJson from '../src';

let config = tomlJson({ fileUrl: './example/config.toml' });
console.log(config);

config = tomlJson({ data: 'title = "TOML Example 2"' });
console.log(config);

License

ISC

About

Convert TOML files to JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published