You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert

4
+
5
+
This package will generate a random dummy string based on the available set of characters and given the length of the desired string. In case you don't care about uniqueness and don't want to use UUID this one will help you to achieve what you want.
6
+
7
+
## How it works?
8
+
9
+
To install it you can simply do the following command:
10
+
11
+
```
12
+
npm i @smakss/random-string
13
+
or
14
+
yarn add @smakss/random-string
15
+
```
16
+
17
+
to include with `ES5` or common js you can simply do this:
18
+
19
+
```
20
+
var randomString = require('@smakss/random-string');
21
+
```
22
+
23
+
or to include with `ES6` you simply do this one:
24
+
25
+
```
26
+
import randomString from '@smakss/random-string'
27
+
```
28
+
29
+
then to use it within your application you can do it just like this:
30
+
31
+
```
32
+
randomString(10) // This will generate a random string with length of then
0 commit comments