UNPKG

whatsapp-rust-bridge

Version:

A high-performance utilities for WhatsApp, powered by Rust and WebAssembly.

47 lines (46 loc) 1.8 kB
{ "name": "whatsapp-rust-bridge", "version": "0.5.5", "description": "A high-performance utilities for WhatsApp, powered by Rust and WebAssembly.", "author": "João Lucas <jlucaso@hotmail.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/jlucaso1/whatsapp-rust-bridge.git" }, "type": "module", "files": [ "dist/index.js", "dist/index.d.ts", "pkg/whatsapp_rust_bridge.d.ts" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.js" } }, "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": "node scripts/build-wasm.mjs", "build:ts": "bun build ts/index.ts --outfile dist/index.js", "prebuild": "rm -rf dist", "postbuild": "tsc -p tsconfig.json --outDir dist", "build": "bun run prebuild && bun run build:wasm && bun run build:ts && bun run postbuild", "prepublishOnly": "bun run build" }, "devDependencies": { "@mitata/counters": "^0.0.8", "@types/bun": "^1.3.2", "@types/node": "^24.10.1", "@whiskeysockets/libsignal-node": "git+https://github.com/whiskeysockets/libsignal-node", "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 }