0.0.2 • Published 7 years ago

uniquestring v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

uniquestring npm version

Super simple function which generates pseudo-random string based on current timestamp and Math.random call.

import uniqueString from 'uniquestring';

const unique = uniqueString(); // returns something similar to 1bl73a23duqt
const uniquePrefixed = uniqueString('foo_'); // returns something similar to foo_1bl73a23duqt

Installing

npm install uniquestring

or

<script src="path/to/uniquestring.js"></script>
0.0.2

7 years ago

0.0.1

7 years ago

0.0.0

8 years ago