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

@opendesk-community/lancedb

v0.1.1

Published

LanceDB v0.41.0 fork for OpenDesk: local-first vector database with table maintenance APIs

Readme

@opendesk-community/lancedb

A fork of LanceDB v0.41.0 (Apache-2.0), maintained by the OpenDesk Community as the vector-index backend of the OpenDesk desktop app. Not affiliated with or endorsed by LanceDB, Inc.

What changed vs upstream 0.41.0

  1. Maintenance APIs — the Node.js binding exposes three additional table methods: cleanupOldVersions, compactFiles, planCompaction, giving applications direct control over version cleanup and compaction.
  2. Compaction knob — compactFiles accepts targetRowsPerFragment (pass-through); 0 disables the "merge small fragments" trigger.
  3. Trimmed build — optional features are compiled out (see below) and symbols are stripped. Binary size drops ~50% (darwin-arm64: 250 MB → 125 MB installed).

Removed capabilities (important)

Compared with the official @lancedb/lancedb:

  • db:// remote connections and the remote module are compiled out.
  • Cloud object storage is limited to s3:// and oss://; other backends (gcs / azure / dynamodb / huggingface / goosefs) are removed.
  • Full-text-search tokenizers (jieba, lindera) are unavailable.
  • OpenTelemetry metrics export is unavailable.
  • The ./embedding/openai and ./embedding/transformers helper subpaths are still exported, but since 0.1.1 their npm packages (openai, @huggingface/transformers) are no longer installed automatically. Install them yourself if you use those subpaths.

Everything OpenDesk relies on keeps working: local connect, SQL where() filters, vector search, and the maintenance APIs above. The TypeScript types for removed capabilities are kept in place; calling them fails at runtime instead of at compile time.

Platform support

| Platform | Binary package | Notes | | --- | --- | --- | | macOS arm64 (Apple Silicon) | …-darwin-arm64 | | | macOS x64 (Intel) | …-darwin-x64 | Upstream dropped this target in 0.22.3; rebuilt here | | Linux arm64, glibc ≥ 2.17 (Kylin V10 / UOS on 飞腾/鲲鹏) | …-linux-arm64-gnu | manylinux2014 baseline | | Windows 10/11 x64 | …-win32-x64-msvc | VC++ Redistributable required |

Not published: Linux x86_64 (toolchain validated, available on demand), Linux musl (Alpine), Windows arm64.

Installation

npm install @opendesk-community/lancedb

Node.js ≥ 22 (same as upstream). Requires a peer apache-arrow ≥ 15 and < 22. The platform binary is selected automatically via optionalDependencies. For OpenDesk or another application, add this package to dependencies. Installing the published package does not require Rust, a local build, or the maintainer tooling. The embedding SDKs are only needed if you use their corresponding helper subpaths.

Usage

import * as lancedb from "@opendesk-community/lancedb";

const db = await lancedb.connect("data/sample-lancedb");
const table = await db.createTable("my_table", [
  { id: 1, vector: [0.1, 1.0], item: "foo", price: 10.0 },
  { id: 2, vector: [3.9, 0.5], item: "bar", price: 20.0 },
]);
const results = await table.vectorSearch([0.1, 0.3]).limit(20).toArray();

// Fork maintenance APIs
await table.cleanupOldVersions();
const plan = await table.planCompaction();
await table.compactFiles({ targetRowsPerFragment: 0 });

Versioning

This fork uses its own version series. 0.1.0 is the first release and is based on upstream LanceDB 0.41.0 / lance core 14.0.2; the upstream baseline is recorded here and in the NOTICE file, not in the version number. Breaking changes bump the minor version (0.x semver).

0.1.1 moves the two unused optional dependencies inherited from upstream (@huggingface/transformers, openai) to development dependencies. It also adapts the JS loader to reuse the existing platform packages, which stay at 0.1.0; their native binaries do not need to be rebuilt or republished.

License & attribution

Apache-2.0. Contains software from the LanceDB project, Copyright The LanceDB Authors. See NOTICE, LICENSE, NODEJS_THIRD_PARTY_LICENSES.md and RUST_THIRD_PARTY_LICENSES.html.