pg_typescript, a Postgres extension for writing functions in TypeScript
TypeScript in Postgres beats plv8's plain JavaScript with actual type safety.
A PostgreSQL extension that adds TypeScript as a procedural language
Deno runtime inside Postgres brings npm imports and sandboxing to stored procedures.
Backend engineers, Database administrators
plv8 · pljs
Because it uses Deno under the hood, we get sandboxing "for free", and can enable or disable various features (filesystem, network etc...) via superuser Postgres GUCs.
It's still alpha quality software, but works reliably in my testing and I've implemented all of: - Typescript support - NPM Packages via deno import urls - Complex Postges types like Record and JSONB - An interface for calling back into Postgres
Try it out and open an issue with any feedback!
TypeScript in Postgres beats plv8's plain JavaScript with actual type safety.
Type-safe Postgres queries with zero verbosity, but competes with Prisma, Drizzle, sqlc.
TagLib compiled to WASM fills a real gap—JS had no battle-tested audio tagging library.
pgrx for MySQL, but requires using a fork instead of vanilla MySQL.
NumPy's full API in JavaScript with zero dependencies, 93% coverage validated against Python.
Versioned code artifacts replace static LangGraph definitions for persistent runnable agent workflows.