Generate low-level Rust bindings to JavaScript using wasm-bindgen & Typescript Type Declarations.
There are some rough edges, but the bindings should compile with few to no manual changes.
cargo run --release ./node_modules/@types/geojson/ dist
- OR types
- AND types
- Variadic function support
- Some TS features
- Proper namespace/modules support
- Rust style names: screaming camel case for statics