napi-rs-node-bindings
✓napi-rs を使用した Rust ライブラリの Node.js バインディング。 Napi マクロと構造体の作成または変更、Rust と JavaScript 間の型の変換、FFI 境界を越えるエラーの処理、非同期/Promise パターン、ネイティブ モジュールの構築、npm への公開、バインディング コードのテスト、バインディングの問題のデバッグなど、Rust コードへの Node.js/JavaScript バインディングを操作するときに使用します。機能パリティ追跡を備えた CQLite (Cassandra CQL バインディング) 用に調整されています。
インストール
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 |
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/pmcfadin/cqlite --skill napi-rs-node-bindings- カテゴリ
- </>開発ツール
- 認証済み
- ✓
- 初回登録
- 2026-02-05
- 更新日
- 2026-02-18
クイックアンサー
napi-rs-node-bindings とは?
napi-rs を使用した Rust ライブラリの Node.js バインディング。 Napi マクロと構造体の作成または変更、Rust と JavaScript 間の型の変換、FFI 境界を越えるエラーの処理、非同期/Promise パターン、ネイティブ モジュールの構築、npm への公開、バインディング コードのテスト、バインディングの問題のデバッグなど、Rust コードへの Node.js/JavaScript バインディングを操作するときに使用します。機能パリティ追跡を備えた CQLite (Cassandra CQL バインディング) 用に調整されています。 ソース: pmcfadin/cqlite。
napi-rs-node-bindings のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/pmcfadin/cqlite --skill napi-rs-node-bindings インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/pmcfadin/cqlite
詳細
- カテゴリ
- </>開発ツール
- ソース
- skills.sh
- 初回登録
- 2026-02-05