npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@fast-firebird/core

v0.1.0

Published

Pure-TypeScript Firebird wire-protocol driver for Node.js (Firebird 3/4/5)

Downloads

52

Readme

@fast-firebird/core

A next-generation Firebird SQL driver for Node.js — pure TypeScript, zero native dependencies, speaking the Firebird wire protocol directly (protocols 13–20) with first-class support for Firebird 3, 4, and 5 — plus Firebird 6 (snapshot, protocol 20).

import { connect } from '@fast-firebird/core';

const db = await connect({
  host: 'localhost',
  database: '/data/employees.fdb',
  user: 'SYSDBA',
  password: 'masterkey',
});

const rows = await db.query('select first 5 * from employee where salary > ?', [50000]);
await db.disconnect();

Highlights

  • Fast on real networks — statement allocate+prepare pipelined into one round trip, execute+fetch coalesced, adaptive fetch batching, deferred cleanup ops. Attachment.roundTrips exposes the flush counter.
  • Blobs done right — eager by default (a SELECT gives you values), 64KB segments with deep pipelining, FB5 inline blobs (small blobs cost zero extra round trips), lazy modes per column/subtype, blob.stream(), blob.toFile(), read-ahead for streaming consumers. 11–149× faster than legacy drivers on blob workloads.
  • Modern auth & wire crypt — SRP256/SRP (Firebird's exact SRP-6a variant), ARC4/ChaCha/ChaCha64 wire encryption on by default, wire compression, Legacy_Auth fallback for old servers.
  • Complete type system — all Firebird types including INT128, DECFLOAT 16/34 (±Inf/NaN), TIMESTAMP/TIME WITH TIME ZONE (instant or ZonedDate), NUMERIC precision handling, charset layer resolved at prepare time (including CHARSET NONE legacy databases via charsetNoneEncoding).
  • Production plumbing — connection pool (validation-on-borrow, idle eviction), per-connection statement cache, row streaming with backpressure, multi-statement script execution (isql-compatible SET TERM), savepoint nested transactions, transaction restart/auto-upgrade, await using support, POST_EVENT listeners, Services API (server info, gstat, gbak backup/restore).
  • Real error messages — the full gds→message table (2539 entries) with SQLSTATE and complete status vector on every FirebirdError.
  • Tested against real servers — 1016 tests across a Firebird 3/4/5/6 (+ Legacy_Auth) Docker matrix on every push.

Drizzle ORM

See @fast-firebird/drizzle for the Drizzle dialect (query builder, migrator, schema introspection).

Documentation

Full documentation, benchmarks, and design notes: github.com/mreis1/fast-firebird

License

MIT. Contains data derived from the Firebird project under IDPL/IPL — see NOTICE.