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

@qubu/adapter-aws-rds-data-api

v0.6.3

Published

Experimental Qubu adapter for the AWS Aurora RDS Data API.

Readme

@qubu/adapter-aws-rds-data-api

Experimental: this package is not production-ready. It has no provider-backed CI or live Aurora validation. Production hardening needs funded AWS infrastructure and an external maintainer.

Choose the dialect-specific entry point for the Aurora engine you use. Both entry points adapt the AWS SDK's RDSDataClient to Qubu, and neither requires an engine option:

import { RDSDataClient } from "@aws-sdk/client-rds-data"
import { rdsDataApiAdapter } from "@qubu/adapter-aws-rds-data-api/postgres"
import { qubu } from "qubu"

const client = new RDSDataClient({})
const db = qubu(
  rdsDataApiAdapter(client, {
    resourceArn: process.env.AURORA_RESOURCE_ARN!,
    secretArn: process.env.AURORA_SECRET_ARN!,
    database: "app",
  }),
)

For Aurora MySQL, change only the import:

import { rdsDataApiAdapter } from "@qubu/adapter-aws-rds-data-api/mysql"

Each adapter's dialect preserves its PostgreSQL or MySQL policy while rendering AWS named placeholders (:p1, :p2, ...). The adapter encodes nulls, booleans, numbers, strings, dates, bytes, and JSON as Data API fields; it maps result metadata into object rows, affected-row counts, and generated insert IDs. Callback transactions use the Data API's begin/execute/commit or rollback transaction-ID sequence.

Limitations

  • No streaming, migration adapter, or nested transaction/savepoint API is provided.
  • AWS errors pass through unchanged. Abort signals are forwarded to AWS SDK requests, but server-side cancellation guarantees have not been validated.
  • This integration needs funded Aurora test infrastructure or an external maintainer before production use; provider-backed production behavior is not claimed.
  • Data API decimal and long results default to string form so precision is not silently lost; override resultSetOptions only when numeric conversion is intentional.
  • The schema option is rejected when executing statements; qualify schema identifiers in SQL instead.
  • Non-finite numbers and unsafe integer numbers are rejected. Pass large integers as bigint or strings; dates must be valid and JSON values must be serializable.