PLJS is a trusted JavaScript Language Extension for PostgreSQL.
It is compact, lightweight, and fast.
A Discord is available for general questions, discussions, and support. Please check there before opening an issue.
JavaScript: QuickJS
PostgreSQL: 14+
1.0.0 released.
Once the extension has been installed (see Building), you can run:
CREATE EXTENSION pljs;
from your SQL REPL.
You can test that it works by executing:
DO $$ pljs.elog(NOTICE, "Hello, World!") $$ LANGUAGE pljs;
- Integrations - How PLJS integrates with Postgres
- Types - Type conversion between Postgres and JavaScript
- Functions - Functions and functionality provided by PLJS
- Configuration - Configuration options
- Development - How to build and develop PLJS
- Versioning - PLJS's versioning policies
- Change Log - Release change log
- Roadmap - PLJS's development roadmap
- Benchmarks - Benchmarks and comparisons with PLV8