This template provides a solid foundation for building scalable and maintainable TypeScript package with Effect.
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.tsBuilding
To build the package:
pnpm buildTesting
To test the package:
pnpm testThis 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:bunThe 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