Skip to content

Random String package provides functionality to generate a random string value.

License

Notifications You must be signed in to change notification settings

glowyjs/random-string

Repository files navigation

Random String

Random String package provides functionality to generate a random string value.

Version License

Install

$ npm install --save @glowyjs/random-string

Usage

import randomString from '@glowyjs/random-string';

randomString();
//=> 3Kekravwvb78vP9CQPP1vaRCgi4dZETOktxzf8pF5gufFqh8mOICMqjRP4y8UxoI

randomString(10);
//=> FxvqHNFNUu

randomString(10, '#@$%&+=');
//=> $+#%#&$$=@

Tests

Run tests

npm run test

License

The MIT License (MIT) Copyright (c) Sergey Romanenko

About

Random String package provides functionality to generate a random string value.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published