PureScript bindings for the pg library (node-postgres on GitHub).
I’ll assume you have PureScript and PostgreSQL installed. You’ll also need purescript-pulp and pg:
npm install pg
npm install -g pulpClone the project:
git clone https://github.com/epost/purescript-node-postgres
cd purescript-node-postgresCreate a Postgres database and run the tests:
psql --command="create database test"
cat schema.sql | psql --username=testuser testLet’s run some tests:
pulp install
pulp testSee Module documentation.