nodex
Yet another crate to create native nodejs addons :)
This crate aims to make creating native nodejs addons very easy and comfortable.
It is in a very early stage and heavy development is making.
Examples
Init Module
// lib.rs
use nodex_api::{api, prelude::*};
nodex_api::init!(init);
fn init(env: NapiEnv, exports: JsValue) -> NapiResult<()> {
Ok(())
}
How to participate in
Code of conduct
cat >> .git/hooks/pre-push << EOF
#!/bin/sh
cargo fmt || exit
cargo clippy -- -D warnings || exit
EOF
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.