Skip to content
/ conf2p Public

It can transform a specified configure file to cmd parameters.

Notifications You must be signed in to change notification settings

Miloas/conf2p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conf2p

lol

Use

//input.conf
# xxx
a=3
b=true

//index.js
const conf2p = require('conf2p')
let obj = new conf2p('input.conf')
console.log(await obj.toString()) // --a=3 --b=true
console.log(await obj.toDic()) // {a: 3, b: true}

About

It can transform a specified configure file to cmd parameters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published