·napi-rs-node-bindings
</>

napi-rs-node-bindings

pmcfadin/cqlite

Node.js bindings for Rust libraries using napi-rs. Use when working on Node.js/JavaScript bindings to Rust code, including creating or modifying napi macros and structs, converting types between Rust and JavaScript, handling errors across the FFI boundary, async/Promise patterns, building native modules, publishing to npm, testing binding code, or debugging binding issues. Tuned for CQLite (Cassandra CQL bindings) with feature parity tracking.

2Installs·0Trend·@pmcfadin

Installation

$npx skills add https://github.com/pmcfadin/cqlite --skill napi-rs-node-bindings

SKILL.md

| Type mapping between Rust ↔ JavaScript | type-conversions.md | | Converting Rust errors to JS exceptions | error-handling.md | | Async patterns and Promises | async-patterns.md | | Building and publishing to npm | build-publish.md | | Testing strategies | testing.md | | Debugging common binding issues | debugging.md |

| #[napi] | Expose function/struct/impl to JS | | #[napi(constructor)] | Class constructor | | #[napi(getter)] | Property getter | | #[napi(setter)] | Property setter | | #[napi(factory)] | Static factory method | | #[napi(jsname = "...")] | Rename in JavaScript | | #[napi(tsargstype = "...")] | Custom TypeScript arg types |

| #[napi(tsreturntype = "...")] | Custom TypeScript return type | | #[napi(object)] | Plain JS object (no class) | | #[napi(strict)] | Strict type checking |

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/pmcfadin/cqlite --skill napi-rs-node-bindings
Category
</>Dev Tools
Verified
First Seen
2026-02-05
Updated
2026-02-18

Quick answers

What is napi-rs-node-bindings?

Node.js bindings for Rust libraries using napi-rs. Use when working on Node.js/JavaScript bindings to Rust code, including creating or modifying napi macros and structs, converting types between Rust and JavaScript, handling errors across the FFI boundary, async/Promise patterns, building native modules, publishing to npm, testing binding code, or debugging binding issues. Tuned for CQLite (Cassandra CQL bindings) with feature parity tracking. Source: pmcfadin/cqlite.

How do I install napi-rs-node-bindings?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/pmcfadin/cqlite --skill napi-rs-node-bindings Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/pmcfadin/cqlite

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-02-05

Related Skills

None