duckdb-lambda-x86
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

duckdb-lambda-x86

This npm package contain the current DuckDB version specifically built to be able to run on Amazon Linux 2-based environments, such as AWS Lambda functions (only with x86 architecture). The original duckdb npm package unfortunately doesn't work on AL2 due to the OSes outdated package versions, and the packaging.

Installation

You can install it for your project by running

npm i --save duckdb-lambda-x86

Usage

As this package is a repackaged version of the duckdb npm package, the same Node.js API can be used. Have a look at the docs to learn more.

const duckdb = require('duckdb-lambda-x86');

const db = new duckdb.Database(':memory:'); // or a file name for a persistent DB

Lambda layer

You can alternatively use the free and public Lambda layer tobilg/duckdb-nodejs-layer.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i duckdb-lambda-x86

      Weekly Downloads

      170

      Version

      1.0.0

      License

      MIT

      Unpacked Size

      52 MB

      Total Files

      7

      Last publish

      Collaborators

      • tobilg