@glowyjs/random-string

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i @glowyjs/random-string

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.16 kB

Total Files

4

Last publish

Collaborators

  • awilum