1.2.0 • Published 6 months ago
restsend-wasm v1.2.0
How intgrate with your project
- Test rust library, the outout dir is
restsend-rs/crates/restsend-wasm/pkg
cd crates/restsend-wasm npm run test
- Build rust library, the outout dir is
restsend-rs/js
cd crates/restsend-wasm npm run dist
- import
restsend_wasm.js
in your projectimport restsendWasm from 'restsend_wasm.js'; restsendWasm().then(m => { m.signin(endpoint, userId, password).then(info => { let client = new m.Client(info) }) })