<commit_before># prompt-autocomplete

prompt-autocomplete is a Node.js module that provides a terminal prompt with autocomplete-like functionality. 



## Usage

```js
var ask = require('prompt-autocomplete.js');

var states = [
        'Alabama',
        'Alaska',
        // all the states...
        'Wisconsin',
        'Wyoming'
    ];

ask("Pick a state:", states, function (err, answer) {
    console.log("You picked " + answer);
});
```

gives you this:

![Alt text](demo.gif?raw=true "prompt-autocomplete demo")



## Contributing & Future of this Module

I built this module for fun and as a challenge for myself. I am not actively using it for anything yet, which means **I have little intention on supporting it.** That may change of course if I find myself using it for something. 

That said, I will take any pull requests for any bug fixes or new features. 



## Installation

```
npm install prompt-autocomplete
```



## License 

MIT
<commit_msg>require a module do not need .js file extension<commit_after># prompt-autocomplete

prompt-autocomplete is a Node.js module that provides a terminal prompt with autocomplete-like functionality. 



## Usage

```js
var ask = require('prompt-autocomplete');

var states = [
        'Alabama',
        'Alaska',
        // all the states...
        'Wisconsin',
        'Wyoming'
    ];

ask("Pick a state:", states, function (err, answer) {
    console.log("You picked " + answer);
});
```

gives you this:

![Alt text](demo.gif?raw=true "prompt-autocomplete demo")



## Contributing & Future of this Module

I built this module for fun and as a challenge for myself. I am not actively using it for anything yet, which means **I have little intention on supporting it.** That may change of course if I find myself using it for something. 

That said, I will take any pull requests for any bug fixes or new features. 



## Installation

```
npm install prompt-autocomplete
```



## License 

MIT

{'fraction_non_alphanumeric': 0.10300866904640489, 'fraction_numerical': 0.0, 'mean_word_length': 3.2559652928416485, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3241062', 'n_tokens_mistral': 594, 'n_tokens_neox': 539, 'n_words': 238}