aboutsummaryrefslogtreecommitdiff
path: root/www/index.js
blob: c9baaf81318ed85626106bfcda52301d974017bd (plain)
1
2
3
4
5
6
7
import * as wasm from "genpass";

function generatePassword() {
    document.getElementById("password").innerHTML = wasm.generate();
}

document.getElementById("generate").onclick = generatePassword