An open API service indexing awesome lists of open source software.

https://github.com/muhamed-didovic/random-string


https://github.com/muhamed-didovic/random-string

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# simple-string-generator
Simple Module/Package for generating Random Strings

[![npm](https://badgen.net/npm/v/simple-string-generator)](https://www.npmjs.com/package/simple-string-generator)

## Install
```sh
npm install simple-string-generator --save
```

## How to use
```
var random = require('simple-string-generator');
```

## Usage
This method takes in an integer value which specifies the length of the returned strings.

```
console.log(random(10)) // Returns b2pcd13ezq
```

## License
MIT