Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/miloas/conf2p

It can transform a specified configure file to cmd parameters.
https://github.com/miloas/conf2p

Last synced: 8 days ago
JSON representation

It can transform a specified configure file to cmd parameters.

Awesome Lists containing this project

README

        

# conf2p
> lol

# Use
```javascript
//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}
```