<commit_before># rand-gen
Random character generator that builds a random string. The string produced can include upper and lowercase letters numbers and special characters.

Version: 1.0.2

## Installation

1. install [npm][1]
2. `npm install rand-gen`

## Getting Started
To use `rand-gen` require it into your file and call `.gen()`.

``` js
var randGen = require('rand-gen');

var myFunction = function () {
    var randStr = randGen().gen();
    console.log(randStr);       // random string of 15 characters.
};
```
The above function will produce a random string that can include all letters a-z lower and uppercase, numbers 0-9, and special characters.

## Options

* `length` - Default length is `15` can be changed.
* `uppercase` - Default is set to `true`, your random string cannot include uppercase letters set to `false`.
* `lowercase` - Default is set to `true`, your random string cannot include lowercase letters set to `false`.
* `numbers` - Default is set to `true`, your random string cannot include numbers set to `false`.<commit_msg>Changed version to 1.0.3<commit_after># rand-gen
Random character generator that builds a random string. The string produced can include upper and lowercase letters numbers and special characters.

Version: 1.0.3

## Installation

1. install [npm][1]
2. `npm install rand-gen`

## Getting Started
To use `rand-gen` require it into your file and call `.gen()`.

``` js
var randGen = require('rand-gen');

var myFunction = function () {
    var randStr = randGen().gen();
    console.log(randStr);       // random string of 15 characters.
};
```
The above function will produce a random string that can include all letters a-z lower and uppercase, numbers 0-9, and special characters.

## Options

* `length` - Default length is `15` can be changed.
* `uppercase` - Default is set to `true`, your random string cannot include uppercase letters set to `false`.
* `lowercase` - Default is set to `true`, your random string cannot include lowercase letters set to `false`.
* `numbers` - Default is set to `true`, your random string cannot include numbers set to `false`.
{'fraction_non_alphanumeric': 0.10382255781028787, 'fraction_numerical': 0.012741859367626238, 'mean_word_length': 4.0, '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': '153735', 'n_tokens_mistral': 595, 'n_tokens_neox': 573, 'n_words': 288}