Registry / utility / js-int

js-int

JSON →
library0.2.2rscratesunverified

JavaScript-interoperable integer types for safe cross-language data exchange.

# Cargo.toml [dependencies] js_int = "0.2.2"
INSTALL
IMPORT
SIG · JS-INT
J
js-int
utilityrustv0.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JsInt
use js_int::JsInt;

Creates a JsInt from a Rust integer.

use js_int::JsInt; fn main() { let val = JsInt::try_from(42).unwrap(); println!("{}", val); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
js-int — cargo add js-int · libregistry