{"_id":"@devlikeapro/whatsapp-rust-bridge","name":"@devlikeapro/whatsapp-rust-bridge","dist-tags":{"latest":"0.5.2"},"versions":{"0.5.2":{"name":"@devlikeapro/whatsapp-rust-bridge","version":"0.5.2","description":"A high-performance utilities for WhatsApp, powered by Rust and WebAssembly.","author":{"name":"João Lucas","email":"jlucaso@hotmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/jlucaso1/whatsapp-rust-bridge.git"},"type":"module","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"bench":"bun run build && bun run benches/binary.ts && bun run benches/signal.ts && bun run benches/curve.ts && bun run benches/crypto.ts","bench:node":"bun run build && node --expose-gc benches/binary.ts && node --expose-gc benches/signal.ts && node --expose-gc benches/curve.ts && node --expose-gc benches/crypto.ts","build:wasm:simd":"rm -rf pkg-simd && WASM_PACK_CACHE=.wasm-pack-cache CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUSTFLAGS='-C target-feature=+simd128' wasm-pack build --target web --out-dir pkg-simd --no-pack","build:wasm:compat":"rm -rf pkg-compat && WASM_PACK_CACHE=.wasm-pack-cache wasm-pack build --target web --out-dir pkg-compat --no-pack","build:wasm:bundle":"rm -rf pkg && cp -R pkg-simd pkg && mv pkg/whatsapp_rust_bridge_bg.wasm pkg/whatsapp_rust_bridge_bg_simd.wasm && cp pkg/whatsapp_rust_bridge_bg_simd.wasm pkg/whatsapp_rust_bridge_bg.wasm && cp pkg-compat/whatsapp_rust_bridge_bg.wasm pkg/whatsapp_rust_bridge_bg_compat.wasm","build:wasm:clean":"rm -rf pkg-simd pkg-compat","build:wasm":"bun run build:wasm:simd && bun run build:wasm:compat && bun run build:wasm:bundle && bun run build:wasm:clean","build:ts":"bun build ts/index.ts --outfile dist/index.js","postbuild":"tsc -p tsconfig.json --outDir dist && rm -f dist/macro.d.ts","build":"bun run build:wasm && bun run build:ts && bun run postbuild"},"devDependencies":{"@mitata/counters":"^0.0.8","@types/bun":"^1.3.2","@types/lodash":"^4.17.24","@types/node":"^25.3.0","@types/semver":"^7.7.1","@types/whatwg-url":"^13.0.0","@whiskeysockets/libsignal-node":"git+https://github.com/whiskeysockets/libsignal-node.git","audio-decode":"^2.1.3","baileys":"^7.0.0-rc.9","mitata":"^1.0.34","sharp":"^0.34.5","typescript":"^5.9.3"},"private":false,"gitHead":"6d82e5fe765f9e387b6545ef5bb9917d3da8f5d7","_id":"@devlikeapro/whatsapp-rust-bridge@0.5.2","bugs":{"url":"https://github.com/jlucaso1/whatsapp-rust-bridge/issues"},"homepage":"https://github.com/jlucaso1/whatsapp-rust-bridge#readme","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-11do266kFDFOtDwvJm55XjCdvZHrbS1cVumBTmhCnBk+m8PgE1ih+vgVnK9m1aYGP/G/x89QrCw7Ce7QD77mGg==","shasum":"faf344c6e7960ea0affc7adedcc7440302caf1b8","tarball":"https://registry.npmjs.org/@devlikeapro/whatsapp-rust-bridge/-/whatsapp-rust-bridge-0.5.2.tgz","fileCount":5,"unpackedSize":2021290,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHVSmoWc26AJ2kKc8Y4nqu+BVVScJb7fFac5TsAf/LRAAiBl8yWc6rc5Gb/EfWNCdKDnSiN0Cl5YMTSs2QyjBSlzwg=="}]},"_npmUser":{"name":"devlikeapro","email":"waha@devlike.pro"},"directories":{},"maintainers":[{"name":"devlikeapro","email":"waha@devlike.pro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/whatsapp-rust-bridge_0.5.2_1772015681748_0.1362922232360193"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-25T10:34:41.641Z","0.5.2":"2026-02-25T10:34:42.061Z","modified":"2026-02-25T10:34:42.233Z"},"maintainers":[{"name":"devlikeapro","email":"waha@devlike.pro"}],"description":"A high-performance utilities for WhatsApp, powered by Rust and WebAssembly.","homepage":"https://github.com/jlucaso1/whatsapp-rust-bridge#readme","repository":{"type":"git","url":"git+https://github.com/jlucaso1/whatsapp-rust-bridge.git"},"author":{"name":"João Lucas","email":"jlucaso@hotmail.com"},"bugs":{"url":"https://github.com/jlucaso1/whatsapp-rust-bridge/issues"},"license":"MIT","readme":"# whatsapp-rust-bridge\n\nHigh-performance WhatsApp utilities powered by Rust and WebAssembly.\n\n## Features\n\n| Feature                        | Status |\n| ------------------------------ | ------ |\n| Binary Protocol                | ✅     |\n| Libsignal                      | ✅     |\n| App State Sync                 | ✅     |\n| Audio (waveform, duration)     | ✅     |\n| Image (thumbnails, conversion) | ✅     |\n| Sticker Metadata               | ✅     |\n\n## Runtime Compatibility\n\n- The default WebAssembly build uses SIMD instructions for maximum performance.\n- When the host runtime rejects SIMD (e.g., older QEMU/KVM CPUs or restricted sandboxes), the loader automatically falls back to a compatibility build without SIMD.\n- Force the compatibility module up-front by exporting `WHATSAPP_RUST_BRIDGE_FORCE_COMPAT=1`.\n- To skip the fallback probe and insist on the SIMD build (only when the CPU/runtime truly supports it), set `WHATSAPP_RUST_BRIDGE_FORCE_SIMD=1`.\n\n## Baileys Integration\n\n- [#1698](https://github.com/WhiskeySockets/Baileys/pull/1698) - Binary Protocol\n- [#2067](https://github.com/WhiskeySockets/Baileys/pull/2067) - Libsignal\n","readmeFilename":"README.md","_rev":"1-2e0dbc8cf65c29507371b13aa054257a"}