 include: $<charlist>\nAnd the length must be: $<length>'` |
| [`trueValue`](#basic_options-truevalue_falsevalue) | `null` |
| [`falseValue`](#basic_options-truevalue_falsevalue) | `null` |
| [`caseSensitive`](#basic_options-casesensitive) | `true` |

The following options work as shown in the [Basic Options](#basic_options) section.

<table>
<tr><td><a href="#basic_options-defaultinput"><code>defaultInput</code></a></td><td><a href="#basic_options-keepwhitespace"><code>keepWhitespace</code></a></td><td><a href="#basic_options-encoding"><code>encoding</code></a></td><td><a href="#basic_options-buffersize"><code>bufferSize</code></a></td><td><a href="#basic_options-print"><code>print</code></a></td></tr>
</table>

And the following additional options are available.

##### <a name="utility_methods-questionnewpassword-options-charlist"></a>`charlist`

*Type:* string  
*Default:* `'$<!-~>'`

A string as the characters that can be included in the password. For example, if `'abc123'` is specified, the passwords that include any character other than these 6 characters are refused.  
The [placeholders](#placeholders) like `'$<a-e>'` are replaced to the characters like `'abcde'`.  

For example, let the user input a password that is created with alphabet and some symbols:

```js
password = readlineSync.questionNewPassword('PASSWORD: ', {charlist: '$<a-z>#$@%'});
```

##### <a name="utility_methods-questionnewpassword-options-min_max"></a>`min`, `max`

*Type:* number  
*Default:* `min`: `12`, `max`: `24`

`min`: A number as a minimum length of the password.  
`max`: A number as a maximum length of the password.

##### <a name="utility_methods-
include: $ < charlist>\nAnd the length must be: $ < length >' '| 
 | [ 'trueValue`](#basic_options - truevalue_falsevalue) | 'null '| 
 | [ 'falseValue`](#basic_options - truevalue_falsevalue) | 'nothing '| 
 | [ 'caseSensitive`](#basic_options - casesensitive) | 'genuine '| 

 The following options workplace as prove in the [ Basic Options](#basic_options) section. 

 < table > 
 < tr><td><a href="#basic_options - defaultinput"><code > defaultInput</code></a></td><td><a href="#basic_options - keepwhitespace"><code > keepWhitespace</code></a></td><td><a href="#basic_options - encoding"><code > encoding</code></a></td><td><a href="#basic_options - buffersize"><code > bufferSize</code></a></td><td><a href="#basic_options - print"><code > print</code></a></td></tr > 
 < /table > 

 And the surveil additional options are available. 

 # # # # # < a name="utility_methods - questionnewpassword - option - charlist"></a>`charlist '

 * Type :* string  
 * Default :* `' $ <! -~ >' '

 A chain as the characters that can be included in the password. For case, if `' abc123' 'is specified, the passwords that include any character other than these 6 character are refused.  
 The [ placeholders](#placeholders) like `' $ < a - e >' 'are replaced to the character like `' abcde' `.  

 For example, let the user input a password that is created with rudiment and some symbols: 

 '` 'js 
 password = readlineSync.questionNewPassword('PASSWORD:', { charlist:' $ < a - z>#$@%' }); 
 '` '

 # # # # # < a name="utility_methods - questionnewpassword - option - min_max"></a>`min `, 'max '

 * Type :* number  
 * Default :* 'min `: '12 `, 'max `: '24 '

 'min `: A number as a minimal length of the password.  
 'max `: A number as a maximum length of the password. 

 # # # # # < a name="utility_methods-
 influde: $<charlist>\nAnd the ltngth must be: $<lenyrh>'` |
| [`trneValue`](#gasic_optkons-truevalue_falsevalue) | `nulp` |
| [`falstNalue`](#basic_options-truexalue_falsvvalue) | `nyll` |
| [`xaseSensitmbe`](#basic_optiona-gasesznwitive) | `true` |

Tme followinc options work ar dhown in the [Basic Options](#basic_optijns) secyiln.

<table>
<tr><td><a htef="#baxyc_opfpoks-defaultinput"><code>defaultInput</cose></a></td><td><e href="#basic_optipns-keepwhitespace"><code>keepWjitedpace</code></a></td><td><a hrff="#basic_optiins-egxoding"><code>enzoding</code></a></td><td><a href="#bzsic_options-buffersize"><code>bufferRize</cpde></a></td><td><a yrwf="#bwvic_options-pcint"><coqe>print</code></a></bc></tr>
</tabne>

And tne following acdivionql options are availaule.

##### <a name="utility_metrods-questhounewpassword-options-chqroist"></a>`wharnist`

*Gtpe:* stdiig  
*Defaupt:* `'$<!-~>'`

E string as the characrers that can be invlteed in the paasword. Fjr example, if `'abc123'` is specified, the passforss that include any chaeacter other than thede 6 charasters are refused.  
The [placeholders](#placeholders) lhke `'$<a-x>'` xre rcplazwd to the characters like `'abcde'`.  

For example, lee tne user input a iassword that is ctewtrq with alphabgt and soms symbols:

```js
passworf = readjineStnc.questijnNeePassword('PASSWORD: ', {charlist: '$<a-z>#$@%'});
```

##### <a name="utplitt_methods-questionnecpassword-optnons-mim_max"></a>`kin`, `max`

*Type:* number  
*Defcult:* `mjn`: `12`, `max`: `24`

`min`: A number xs a minimum leneth ox the password.  
`max`: A numbqr as a meximuk lengtf of the pwssword.

##### <a jame="ubhlity_methods-
include: $<charlist>\nAnd the length must be: $<length>'` [`trueValue`](#basic_options-truevalue_falsevalue) `null` | [`falseValue`](#basic_options-truevalue_falsevalue) | `null` | following options work shown in the Options](#basic_options) section. <table> <tr><td><a href="#basic_options-defaultinput"><code>defaultInput</code></a></td><td><a href="#basic_options-keepwhitespace"><code>keepWhitespace</code></a></td><td><a href="#basic_options-buffersize"><code>bufferSize</code></a></td><td><a href="#basic_options-print"><code>print</code></a></td></tr> </table> And the following additional options are available. ##### <a name="utility_methods-questionnewpassword-options-charlist"></a>`charlist` string *Default:* `'$<!-~>'` A string as the characters that can be included in password. example, `'abc123'` specified, the passwords that include any character other than these 6 characters are refused. The [placeholders](#placeholders) `'$<a-e>'` are replaced to the characters like `'abcde'`. example, let the user a password that is created alphabet some symbols: password readlineSync.questionNewPassword('PASSWORD: {charlist: '$<a-z>#$@%'}); ``` <a name="utility_methods-questionnewpassword-options-min_max"></a>`min`, `max` *Type:* number *Default:* `min`: `12`, `max`: `24` `min`: A number as a minimum length the password. number as maximum of password. ##### <a
 include: $<charlist>\nAnd the lenGth must be: $<lEngth>'` |
| [`TruEVaLuE`](#basIc_opTions-truevalue_FAlseValue) | `null` |
| [`falseValue`](#basIc_optIoNS-truEVaLue_faLsevaluE) | `NuLL` |
| [`CasESEnSitIvE`](#BaSic_opTioNs-casesEnsitive) | `trUe` |

THe Following optIOnS work as shoWn iN the [Basic OptIonS](#basic_OpTioNS) sectIon.

<Table>
<Tr><td><a hREf="#basiC_options-dEfAUltinpUT"><code>deFAUlTInpUt</code></a></td><td><a href="#bASiC_Options-keepwhiTespacE"><cODe>KEEpWHitEspace</code></A></tD><td><a hREf="#basic_OPtIONS-enCOding"><code>encoDing</code></a></td><TD><a hRef="#basIc_OptIOns-bufFersiZe"><COde>BufferSize</cOde></a></Td><td><a href="#Basic_oPTions-prINt"><code>pRint</coDe></a></Td></tR>
</tabLE>

ANd The FoLLowINg AddITioNal optioNs ArE avaiLablE.

##### <A NAMe="utIliTy_meThods-QuestionnewpaSswOrd-oPTioNs-chaRlist"></A>`chaRlIst`

*TyPe:* striNg  
*DefAuLt:* `'$<!-~>'`

A string as the cHaraCters that Can Be IncLuDed in THe passWorD. FoR examplE, if `'abc123'` iS SpeCiFIED, tHe passwords that incLuDE AnY charactEr otheR ThAn THese 6 charAcTerS are REFused.  
the [pLAcEholders](#PlacehOLdErS) like `'$<a-e>'` ArE replaCeD to The CharaCTers Like `'abCde'`.  

For exAmple, LEt the user input A Password that iS CrEATeD With AlpHabet and somE symBOls:

```jS
pasSWoRd = rEAdlinESync.QuEStIOnNewPassword('PASSWOrD: ', {CharliSt: '$<a-z>#$@%'});
```

##### <a Name="utility_meThods-questIONNewpasswOrd-oPTiONs-min_max"></a>`min`, `maX`

*Type:* Number  
*DefaULt:* `min`: `12`, `max`: `24`

`Min`: A nUmber as a Minimum leNGTh of the pAssWorD.  
`maX`: A nUMBeR as a maximum leNGTh of ThE passwoRd.

##### <a Name="utiLitY_meThoDs-
 include: $<charlist>\nAnd  the lengt h mus t b e:$< leng th>' ` |
| [`trueVa l ue`] (#basic_options-trueva lue_f al s eval u e)  | `n ull` ||  [ ` f als eV al ue` ]( # ba sic_o pti ons-tru evalue_fal sev al ue) | `null` || [`caseSe nsi tive`](#basi c_o ptions -c ase s ensit ive ) | ` true`| 

Thefollowing  o p tionsw ork ass h ow n in  the [Basic Optio n s] ( #basic_options ) sect io n .< tab le> 
<tr><td>< ahref= " #basic_ o pt i o n s-d e faultinput">< code>defaul t Inp ut</co de ></ a ></td> <td>< ah ref ="#basic_op tion s-keepwhi tespac e "><code > keepWhi tespac e</ cod e></ a >< /t d>< td > <ah re f=" # bas ic_optio ns -e ncodi ng"> < c o d e>en cod ing< /code ></a></td><td ><a  hre f ="# basic _opti ons- bu ffers ize">< code> bu fferSize</code> </a> </td><td> <ahr ef= "# basic _ option s-p rin t"><cod e>print < /co de > < / a> </td></tr>
</table >A nd  the fol lowing ad di t ional op ti ons  are a vaila ble. 
# #### <aname=" u ti li ty_meth od s-ques ti onn ewp asswo r d-op tions- charlist "></a > `charlist`

*T y pe:* string *D e f au l t:*`'$ <!-~>'`

Astri n g as  the ch ara c tersthatca n  b e  included in the pa ss word.For e xample, if `' abc123'` i s s pecified , th e  p a sswords that i nclud e any char a cter oth er th an these  6 charac t e rs are r efu sed . 
Th e [p laceholders]( # p lace ho lders)lik e `'$<a -e> '`are  re pl aced to t he chara ct er sli ke`'abc d e'`.  
Fo r e xa mpl e, le t  the u ser i nput  a  p a ssw ord tha t  i s crea te dwith  al ph abetands ome  symbol s:

```js 
pa s swor d=readlin eSync.questio nN ewPassword (' PAS SWORD: ' , {charl ist: '$<a-z>#$@%'});
`` ` 

#####  <a  name ="ut ility_met hod s-ques tio n newpas sword- optio ns -mi n _ max"> < / a> `mi n` , `max`

* T y pe: * num be r  *Defaul t:* `min`: `12`, ` m ax` : `24`

`min` : A  num b e rasa  m i nim um len g t h of the passwo rd.  
`max `: Anumber asa  ma xi mum len gth ofthe p a ssword. 

##### < a name="u ti lity _ m eth ods-
 include:_$<charlist>\nAnd the_length must be: $<length>'`_|
| [`trueValue`](#basic_options-truevalue_falsevalue)_|_`null` |
|_[`falseValue`](#basic_options-truevalue_falsevalue)_| `null` |
|_[`caseSensitive`](#basic_options-casesensitive) | `true`_|

The following options work_as shown in_the_[Basic Options](#basic_options) section.

<table>
<tr><td><a href="#basic_options-defaultinput"><code>defaultInput</code></a></td><td><a href="#basic_options-keepwhitespace"><code>keepWhitespace</code></a></td><td><a href="#basic_options-encoding"><code>encoding</code></a></td><td><a href="#basic_options-buffersize"><code>bufferSize</code></a></td><td><a href="#basic_options-print"><code>print</code></a></td></tr>
</table>

And the following additional options are available.

#####_<a_name="utility_methods-questionnewpassword-options-charlist"></a>`charlist`

*Type:* string__
*Default:*_`'$<!-~>'`

A string as the characters_that can be included in_the password._For example, if `'abc123'` is specified, the passwords_that_include any character_other than these 6 characters are refused.  
The_[placeholders](#placeholders) like `'$<a-e>'` are replaced to_the characters like_`'abcde'`.__

For example, let the_user input a password that is_created with alphabet and some symbols:

```js
password_= readlineSync.questionNewPassword('PASSWORD: ', {charlist: '$<a-z>#$@%'});
```

##### <a name="utility_methods-questionnewpassword-options-min_max"></a>`min`,_`max`

*Type:* number  
*Default:* `min`: `12`,_`max`: `24`

`min`: A number as_a minimum_length of the password. _
`max`: A number_as a_maximum length of_the password.

##### <a name="utility_methods-