This repository is a Cargo crate. Any napi-based add-on should contain Cargo.toml to make it a Cargo crate. In your Cargo.toml you need to set the crate-type to "cdylib" so that cargo builds a C-style ...