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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@kineviz/kuzu-lite

v0.11.3

Published

An in-process property graph database management system built for query speed and scalability.

Readme

kuzu-lite

A lightweight fork of the Kùzu embedded graph database, optimized for faster installation and broader compatibility.

What is Kùzu?

Kùzu is a high-performance embedded graph database management system designed for efficient graph data storage and querying. It supports property graphs and the openCypher query language.

Why We Forked Kùzu

  • Large Package Size: The official Kùzu npm package exceeds 100MB, resulting in slow downloads and build times, particularly outside Europe and North America. kuzu-lite strips it down to essential binaries for a smaller, faster package.

  • No Alpine Linux Support: The official Kùzu package doesn't support Alpine Linux, which is critical for lightweight Docker containers. kuzu-lite includes musl libc-compatible binaries to work seamlessly with Alpine Linux environments.

Benefits

  • Smaller Footprint: Significantly reduced package size for faster downloads and deployments.

  • Broader Compatibility: Full support for Alpine Linux and musl libc environments.

  • Faster Integration: Reduced build times in CI/CD pipelines and development workflows.

  • Same Core Power: Retains all of Kùzu's essential functionality and performance in a leaner package.

Installation

npm install kuzu-lite
# or
yarn add kuzu-lite

Usage

const kuzu = require('kuzu-lite');
const path = require("path");

(async () => {
  // Create an empty on-disk database and connect to it
  const db = new kuzu.Database(path.join(__dirname, "./demo_db"));
  const conn = new kuzu.Connection(db);
  try {
    await conn.query(`
      CREATE NODE TABLE Movie (name STRING, PRIMARY KEY(name));
      CREATE NODE TABLE Person (name STRING, birthDate STRING, PRIMARY KEY(name));
      CREATE REL TABLE ActedIn (FROM Person TO Movie);
      CREATE (:Person {name: 'Al Pacino', birthDate: '1940-04-25'});
      CREATE (:Person {name: 'Robert De Nero', birthDate: '1943-08-17'});
      CREATE (:Movie {name: 'The Godfather: Part II'})");
      MATCH (p:Person), (m:Movie) WHERE p.name = 'Al Pacino' AND m.name = 'The Godfather: Part II' CREATE (p)-[:ActedIn]->(m);
      MATCH (p:Person), (m:Movie) WHERE p.name = 'Robert De Nero' AND m.name = 'The Godfather: Part II' CREATE (p)-[:ActedIn]->(m);
      `)
  } catch (e) {
    console.error("Create DB failed:",e.message);
  }

  const queryResult = await conn.query("MATCH (p)-[:ActedIn]->(m) RETURN *");

  // Get all rows from the query result
  const rows = await queryResult.getAll();

  // Print the rows
  for (const row of rows) {
    console.log(row);
  }

})();

Compatibility

kuzu-lite is tested on:

  • Linux (glibc and musl libc)
  • macOS (Intel and Apple Silicon)
  • Windows

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the same license as Kùzu. See LICENSE file for details.