SILENT KILLERPanel

Current Path: > > lib > node_modules > npm > node_modules > getpass


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //lib/node_modules/npm/node_modules/getpass

NameTypeSizeLast ModifiedActions
lib Directory - -
.npmignore File 64 bytes March 10 2021 14:36:39.
.travis.yml File 113 bytes March 10 2021 14:36:39.
LICENSE File 1067 bytes March 10 2021 14:36:39.
README.md File 774 bytes March 10 2021 14:36:39.
package.json File 1285 bytes March 10 2021 14:36:39.

Reading File: //lib/node_modules/npm/node_modules/getpass/README.md

## getpass

Get a password from the terminal. Sounds simple? Sounds like the `readline`
module should be able to do it? NOPE.

## Install and use it

```bash
npm install --save getpass
```

```javascript
const mod_getpass = require('getpass');
```

## API

### `mod_getpass.getPass([options, ]callback)`

Gets a password from the terminal. If available, this uses `/dev/tty` to avoid
interfering with any data being piped in or out of stdio.

This function prints a prompt (by default `Password:`) and then accepts input
without echoing.

Parameters:

 * `options`, an Object, with properties:
   * `prompt`, an optional String
 * `callback`, a `Func(error, password)`, with arguments:
   * `error`, either `null` (no error) or an `Error` instance
   * `password`, a String

SILENT KILLER Tool