justjavac / deno_getpass

Safely read passwords in a console application on Linux, OSX and Windows

Home Page:https://deno.land/x/getpass

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Safely read passwords in a console application on Linux, OSX and Windows

https://deno.land/x/getpass

License:MIT License


Languages

Language:TypeScript 100.0%