miff

0.3.0 • Public • Published

miff

NPM Version Build Status

minimal configuration file format

key = value
 
[section1]
key = another value
number = 1.2
array = [item, "more item", [even, more]]
 
[section2.bools]
feature = on
boolean = off
on = true
off = false

usage

const miff = require('miff')

parsing from string

const cfg = miff.parse(input)

generating string from object

const string = miff.stringify(object)

Package Sidebar

Install

npm i miff

Weekly Downloads

10

Version

0.3.0

License

MIT

Last publish

Collaborators

  • zf