Postgres WebServices server for exposing PostgreSQL databases as web services via REST/WebSocket. Version 0.9.8 is the latest stable. Developed in Dogma and compiled to JavaScript. Suitable for building real-time data APIs directly from Postgres. No active releases since 2019; use at your own risk.
npm install postgresws.serverNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a PostgresWS server with HTTP and WebSocket endpoints, configured via environment variables, and starts it.
Evaluate if this package is still suitable. Consider alternatives like PostgREST or Hasura.
Use require() instead of import.
Create custom type declarations or use JSDoc comments.
Set db config properties explicitly from environment variables in your code.
Ensure only one WebSocket server is running per port.
Run 'npm install postgresws.server' and use 'require()' instead of 'import'.
Use 'const PostgresWS = require('postgresws.server');' then 'PostgresWS.createServer()'.Change port via options or kill the process using the port.
Check database schema and correct the route query.