0.0.4 • Published 3 years ago

node-purescript-compiler v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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);