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

@bodhiapp/app-bindings

v0.0.24

Published

NAPI-RS bindings for BodhiApp server with integrated tests

Readme

@bodhiapp/app-bindings

npm version CI

Node.js bindings for BodhiApp server functionality, built with NAPI-RS for high-performance native integration.

Features

  • 🚀 High Performance: Native Rust implementation with Node.js bindings
  • 🔄 Cross-Platform: Supports macOS, Linux, and Windows
  • 📦 Zero Dependencies: Self-contained with platform-specific binaries
  • 🔒 Type Safe: Full TypeScript definitions included
  • 🧪 Well Tested: Comprehensive test suite with integration tests

Installation

npm install @bodhiapp/app-bindings

Supported Platforms

This package includes pre-built binaries for the following platforms:

| Platform | Architecture | Node.js | |----------|-------------|---------| | macOS | Apple Silicon (ARM64) | >=22 | | Linux | x64 | >=22 | | Windows | x64 | >=22 |

Usage

Basic Usage

import { /* exported functions */ } from '@bodhiapp/app-bindings';

// Example usage will be added based on your actual exports

TypeScript Support

The package includes full TypeScript definitions:

import type { /* types */ } from '@bodhiapp/app-bindings';

// TypeScript intellisense and type checking work out of the box

API Reference

Development

This package is part of the BodhiApp project.

Building from Source

If you need to build from source:

# Clone the repository
git clone https://github.com/BodhiSearch/BodhiApp.git
cd BodhiApp/crates/lib_bodhiserver_napi

# Install dependencies
npm install

# Build the native module
npm run build:release

Testing

# Run unit tests
npm test

# Run integration tests
npm run test:integration

# Run Playwright tests
npm run test:playwright

Architecture

This package uses NAPI-RS to provide Node.js bindings for Rust code. The architecture follows these principles:

  • Platform-specific binaries: Each supported platform gets its own optimized binary
  • Automatic loading: The package automatically loads the correct binary for your platform
  • Fallback handling: Graceful error handling if binaries are missing
  • Development support: Debug builds available for development

Performance

The native Rust implementation provides significant performance benefits over pure JavaScript implementations:

  • Memory efficiency: Lower memory usage through Rust's ownership model
  • CPU performance: Optimized native code execution
  • Concurrent processing: Built-in support for async operations

Contributing

Contributions are welcome! Please see the main repository for contribution guidelines.

Development Setup

  1. Rust: Install Rust toolchain (1.70+)
  2. Node.js: Install Node.js (22+)
  3. Platform tools: Platform-specific build tools may be required

License

MIT License - see the LICENSE file for details.

Support

Related Packages

This package is part of the BodhiApp ecosystem:

  • BodhiApp: Main application repository
  • Desktop App: Cross-platform desktop application built with Tauri

Built with ❤️ using NAPI-RS