napi-rs Docs

Compare with neon

Compare with neon

neon is the other rust crate which provide great development experience and high performance.

neon has a v8 backend and an incomplete napi backend. Looking only at the N-API backend, there are also many differences between napi-rs and neon.

Abstract level

neon has 2 backends and it try to abstract over the 2 different api. napi-rs is lighter and the API is closer in concept to the original N-API.


neon has a simple cli tool which could help you to build/create packages in local.

@napi-rs/cli do more things like mange your binary cross local environment and CI, help you publish packages in Github actions without pain.

Edit this page on GitHub