1.2.0 • Published 6 months ago

restsend-wasm v1.2.0

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

How intgrate with your project

  1. Test rust library, the outout dir is restsend-rs/crates/restsend-wasm/pkg
    cd crates/restsend-wasm
    npm run test
  2. Build rust library, the outout dir is restsend-rs/js
    cd crates/restsend-wasm
    npm run dist
  3. import restsend_wasm.js in your project
    import restsendWasm from 'restsend_wasm.js';
    restsendWasm().then(m => {
        m.signin(endpoint, userId, password).then(info => {
            let client = new m.Client(info)
        })
    })
1.2.0

6 months ago

1.1.9

6 months ago