Repository
Current version released
2 years ago
Dependencies
std
deno_getpass
Safely read passwords in a console application on Linux, OSX and Windows.
Try it
deno run https://deno.land/x/getpass/example.ts
Usage
import getpass from "https://deno.land/x/getpass/mod.ts";
const pw = getpass();
console.log("Your password is: %s", pw);
If enter Ctrl + C, will return undefined
.
License
deno_getpass is released under the MIT License. See the bundled LICENSE file for details.