Found 2 packages
Detect the file type of a file, stream, or data
https://docs.rs/lzma-rs binding to Node.js via https://napi.rs