Skip to content
This repository was archived by the owner on Jun 12, 2026. It is now read-only.

Repository files navigation

Effect Package Template

This template provides a solid foundation for building scalable and maintainable TypeScript package with Effect.

Running Code

This template leverages tsx to allow execution of TypeScript files via NodeJS as if they were written in plain JavaScript.

To execute a file with tsx:

pnpm tsx ./path/to/the/file.ts

Operations

Building

To build the package:

pnpm build

Testing

To test the package:

pnpm test

Performance Tests

This project includes comprehensive performance tests for Effect-TS SQL packages. See the src/README.md for details.

To run the performance comparison tests:

pnpm run start
pnpm run start:bun

The performance tests compare:

  • @effect/sql-sqlite-node - SQLite implementation using better-sqlite3 for Node.js
  • @effect/sql-sqlite-bun - SQLite implementation using bun:sqlite for Bun runtime
  • @effect/sql-sqlite-wasm - SQLite implementation using WASM for browser/Node.js compatibility
  • @effect/sql-libsql - LibSQL implementation (Turso) for distributed SQLite

About

Bun Sqlite, Sqlite3, Sqlite WASM, PGLite

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages