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

node-firebird-driver-wire

v0.0.1-beta.1

Published

Firebird Wire Driver for Node.js

Downloads

72

Readme

CI npm version

Firebird high-level wire client for Node.js / TypeScript

node-firebird-driver-wire is a modern pure Node.js Firebird client based on the node-firebird-driver API.

Unlike node-firebird-driver-native, this package talks directly to the Firebird wire protocol and does not require the native fbclient library to be installed on the machine.

Installation

yarn add node-firebird-driver-wire

Usage example

import { createWireClient } from 'node-firebird-driver-wire';

async function test() {
  const client = createWireClient();

  const attachment = await client.createDatabase('localhost:/tmp/new-db.fdb');
  const transaction = await attachment.startTransaction();

  await attachment.execute(transaction, 'create table t1 (n integer, d date)');
  await transaction.commitRetaining();

  const statement1 = await attachment.prepare(transaction, 'insert into t1 values (?, ?)');
  await statement1.execute(transaction, [1, new Date()]);
  await statement1.execute(transaction, [2, new Date()]);
  await statement1.execute(transaction, [3, new Date()]);
  await statement1.dispose();

  const resultSet = await attachment.executeQuery(transaction, 'select n, d from t1 where n <= ?', [2]);
  const rows = await resultSet.fetch();

  for (const columns of rows) console.log(`n: ${columns[0]}, d: ${columns[1]}`);

  await resultSet.close();

  await transaction.commit();
  await attachment.dropDatabase();

  await client.dispose();
}

test().then(() => console.log('Finish...'));

Connection strings

The wire driver accepts Firebird database URIs in the form:

  • hostname:/path/to/database.fdb
  • hostname/3051:/path/to/database.fdb
  • /path/to/database.fdb
  • C:\\data\\database.fdb

When no host is provided, the driver defaults to localhost and port 3050.

Wire driver notes

  • Uses the same high-level API exposed by node-firebird-driver.
  • Does not depend on fbclient, which makes it easier to deploy in environments where native libraries are hard to ship.
  • Connects through the Firebird network protocol, so it is a good choice for remote database access and containerized deployments.
  • Supports Firebird authentication through Srp256, Srp, and Legacy_Auth.
  • If you want the Firebird client library or embedded integration instead, use node-firebird-driver-native.

You can also configure socket timeout behavior:

const client = createWireClient({
  timeoutMs: 10000,
});

See more examples in packages/node-firebird-driver/src/test and packages/node-firebird-driver-wire/src/test.

Donation

If this project help you reduce time to develop, you can show your appreciation with a donation.

  • GitHub Sponsor: https://github.com/sponsors/asfernandes
  • Pix (Brazil): 278dd4e5-8226-494d-93a9-f3fb8a027a99
  • BTC: 1Q1W3tLD1xbk81kTeFqobiyrEXcKN1GfHG
  • paypal