🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

human-id

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

human-id

Returns from a pool of 10m human-readable IDs

Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
4.6M
5.75%
Maintainers
1
Weekly downloads
 
Created
Source

💃🆔

Human-Readable Identifiers

Using words to identify datasets (instead of numbers) provides various advantages when humans are involved, ie increased distinction and rememberability.

Human-ID generates readable strings by chaining common short words of the english language in a semi-meaningful way. The result is concatenated of adjective + noun + verb resulting in a total of 13 024 368 possible combinations.

  • SFW: no bad words; family friendly results
  • No dependencies

Examples

  • FortyGhostsTalk
  • CalmPanthersDream
  • TastyRocksSparkle
  • HealthyCowsSmile
  • AfraidWallsExist
  • StrangeCarsRush
  • TwoKangaroosSing
  • HappyDolphinsJump

Install

Yarn

yarn add human-id

NPM

npm install --save human-id

Usage

import { humanId } from 'human-id'

// RareGeckosJam
humanId();

// rare-geckos-jam
humanId({
  separator: '-',
  capitalize: false
});
💃🆔

Keywords

human

FAQs

Package last updated on 28 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts