{"library":"build-purescript","type":"library","category":null,"description":"The `build-purescript` Node.js module, currently at version 0.4.1, provides a programmatic interface for compiling the PureScript compiler binary (`purs`) directly from its source code. It handles the complete lifecycle, including downloading the PureScript GitHub repository, setting up the necessary Haskell toolchain via `stack`, and then compiling and installing the `purs` executable into the current working directory. The library exposes its operations as an Observable stream, allowing developers to subscribe to various progress events such as `download`, `setup`, and `build` completion, along with real-time output from the underlying `stack` commands. This detailed event reporting is a key differentiator, offering transparency and control over what is typically a complex and opaque build process for Haskell-based applications, making it suitable for automated build pipelines or environments requiring dynamic provisioning of specific PureScript compiler versions.","language":"javascript","status":"active","version":"0.4.1","tags":["javascript","purs","purescript","request","executable","exe","bin","binary","build"],"last_verified":"Wed May 27","install":[{"cmd":"npm install build-purescript","imports":["const buildPurescript = require('build-purescript');","const buildPurescript = require('build-purescript');"]},{"cmd":"yarn add build-purescript","imports":[]},{"cmd":"pnpm add build-purescript","imports":[]}],"homepage":null,"github":"https://github.com/shinnn/build-purescript","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/build-purescript","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/build-purescript/compatibility"}}