https://github.com/afeiship/next-random-id
Random short string.
https://github.com/afeiship/next-random-id
id key next random short str string
Last synced: about 2 months ago
JSON representation
Random short string.
- Host: GitHub
- URL: https://github.com/afeiship/next-random-id
- Owner: afeiship
- License: mit
- Created: 2020-06-02T05:20:07.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-21T02:26:24.000Z (over 5 years ago)
- Last Synced: 2025-09-20T02:57:37.141Z (9 months ago)
- Topics: id, key, next, random, short, str, string
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-random-id
> Random short string.
[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]
## installation
```bash
npm install -S @jswork/next-random-id
```
## usage
```js
import '@jswork/next-random-id';
nx.randomId(5); // 5rxfj
```
## license
Code released under [the MIT license](https://github.com/afeiship/next-random-id/blob/master/LICENSE.txt).
[version-image]: https://img.shields.io/npm/v/@jswork/next-random-id
[version-url]: https://npmjs.org/package/@jswork/next-random-id
[license-image]: https://img.shields.io/npm/l/@jswork/next-random-id
[license-url]: https://github.com/afeiship/next-random-id/blob/master/LICENSE.txt
[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-random-id
[size-url]: https://github.com/afeiship/next-random-id/blob/master/dist/next-random-id.min.js
[download-image]: https://img.shields.io/npm/dm/@jswork/next-random-id
[download-url]: https://www.npmjs.com/package/@jswork/next-random-id