mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-22 10:03:24 +01:00
708 B
708 B
Generates human readable ID strings by chaning common short words of the english language.
Using words (instead of numbers) to identify datasets provides various advantages when humans are involved. human-id
generates word ids from a pool of 10 006 400 unique IDs.
No dependencies.
Examples
- FortyGhostsTalk
- CalmPanthersDream
- TastyRocksSparkle
- HealthyCowsSmile
- AfraidWallsExist
- StrangeCarsRush
- TwoKangaroosSing
- HappyDolphinsJump
Install
$ npm install --save human-id
Usage
const humanId = require('human-id');
// RareGeckosJam
humanId();
// rare-geckos-jam
humanId({
separator: '-',
capitalize: false
});