Mdconf

mdconf

Markdown driven configuration!

Sweet and simple markdown files are your config!

Markdown headings act as keys, list items with : act as maps, otherwise regular lists behave as.. lists.

Get it: npm install mdconf

Usage sample:

``` const mdconf = require("mdconf");

// conf normally goes into a diffrent file. conf = `

Server

  • host: cloudup.com
  • port: 3000
  • http: enabled
  • https: enabled`;

console.log(mdconf(conf));

/* { server: { host: 'cloudup.com',

 port: '3000',
 http: 'enabled',
 https: 'enabled' 
} 

} */

GIF FTW!

mdconf.gif

Suggest a module

Comments