gajus

gajus/babel-plugin-slonik-sql-type-...

Automatically transforms Slonik's sql.type() calls to use a caching mechanism that prevents expensive re-initialization of Zod schemas, improving performance without requiring code changes.

TypeScript
4
0
Other

This Babel plugin automatically transforms Slonik's `sql.type()` calls to use a caching mechanism that prevents expensive re-initialization of Zod schemas, improving performance without requiring code changes. It's designed for developers using Slonik and Zod who want to optimize their database queries by avoiding repeated schema initialization. The plugin works by converting inline Zod schemas into cached versions using a hash-based singleton pattern, and can be combined with `zod-accelerator` for even greater performance gains.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of gajus/babel-plugin-slonik-sql-type-cache

Account's avatar
General utilities for plugins to use
Account's avatar
The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes
Account's avatar
Babel Types is a Lodash-esque utility library for AST nodes
Account's avatar
Readable multiline template strings
Account's avatar
semantic-release plugin to analyze commits with conventional-changelog
Account's avatar
semantic-release plugin to publish a GitHub release and comment on released Pull Requests/Issues
Account's avatar
semantic-release plugin to publish a npm package
Account's avatar
A Node.js PostgreSQL client with strict types, detailed logging and assertions.
Account's avatar
TypeScript definitions for node
Account's avatar
Utilities for testing babel plugins
Account's avatar
A Spelling Checker for Code!
Account's avatar
Canonical ESLint Shareable Config
Account's avatar
Automated semver compliant package publishing
Account's avatar
TypeScript is a language for application scale JavaScript development
Account's avatar
Next generation testing framework powered by Vite

Top contributors

gajus's profile
gajus
9 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet