node-purescript-compiler
v0.0.4
Published
A Node.js interface to the PureScript compiler via Spago.
Downloads
11
Readme
node-purescript-compiler
A Node.js interface to the PureScript compiler via Spago.
Example
Set up:
mkdir example-project
cd example-project
npm init
spago init
npm install node-purescript-compiler
node
Compiling PureScript:
const ps = require('node-purescript-compiler');
const js = ps.compile();
console.log(js);