0.1.7 • Published 7 years ago

getpass v0.1.7

Weekly downloads
21,810,236
License
MIT
Repository
github
Last release
7 years ago

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

npm install --save getpass
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
sshpkarchetype-librarychinjowwchinjowvuedragdropuploadimagesreact-native-bluetooth2killi8n-react-native-fast-imagespecify-importsbabel-specify-imports@icanpm/api-master@arisageha/react-lazyload@cashremit/cr-streamline-iconsreact-native-template-rfbaseairscanairscan-examplebb-chathomebridge-airmega-nathanfjohnsonreact-native-esc-pos-sahaab@borisovart/atol-kkt-module@frxf/frxfdeneme323112gql_din_modmutasi-bca@jttechnic/interpreteropenid-passport@olivervorasai/slidertypes-giscogoportutilsukor-remasterreact-native-slider-kfexpand-react-bridge@everything-registry/sub-chunk-1754publishing-to-npm-packagezona-api-easy-xzona-chain-xzona-xwcq-vueweb-component-tester-bundleweb-elements-iconsvue-router-generatorvue-size-trackerwc-starterkitvue-button-test1webche@geeky-apo/react-native-advanced-clipboardwinx-form-winxwarmaitech-gpt-3-encoderu-libraryvue-v3-yandex-metrikavue-dev-clonevue-compmentvideo-multi-uploader@hemith/react-native-tnk@greminder/bootstrap-material-design@maricode1111/date-lib@luaeb/assets@massivepixel/use-query3.0.0react-native-pulsator-nativereact-native-plugpag-wrapperreact-native-ok-sdkreact-native-video-typoreact-native-version-managerreact-websocketsreact-native-template-nascam-templatereact-native-template-vifereact-native-test-module-hhhreact-rect-progressbarreact-redux-demo1react-router-v5-v6-bridged-featuresreact-angular-componentreact-flow-highly-customizable-edgesraptor-appqudratic-uipyreswap-sdkresponsive-react-appregression-external-dtorefinejs-reporeact-native-kakao-mapsreact-native-is7react-native-contact-listreact-native-flyyreact-native-handcheque-enginereact-native-modal-progress-barquadratic-sdktingzi-vuepresstoyakoreikamoon-string-library-aasafecustody_sdkspearheadtest-public-protailwind-vector-effectteapackage-tatespoorman297start-starwars-libstringlbselect2-selectalltestapatest-solidity-npmtestnpm_lmnstyletools
0.1.7

7 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago