0.1.1 • Published 5 years ago
orcbrew2js v0.1.1
orcbrew2js (Node.js)
This repository exports a Node module that runs the parser that @jnwhiteh wrote in Golang behind the scenes to transform .orcbrew
files into JS objects.
Install
npm i orcbrew2js
In a nutshell
Basically, all you have to do is extract the content from the .orcbrew
file and pass it to the exported function, which returns a Promise; then you can simply .then(obj => { ... })
, where obj
is a JS object.