1.0.0 • Published 9 months ago

kanji-id v1.0.0

Weekly downloads
-
License
PUBLIC DOMAIN
Repository
github
Last release
9 months ago

kanji-id

kanji-id is a JavaScript library to generate unique ID using Han characters (kanji).

The kanji candidates use the common-use kanji (joyo-kanji, 2,136 characters). Since the length of id is 11 digits, there are 4.2229285 × 10^36 possible patterns.

Install

# npm
npm install kanji-id

# yarn
yarn add kanji-id

Usage

import { generateKanjiId } from "kanji-id";

generateKanjiId();
// 累距恣頻凶箸誌飽募祭古
1.0.0

9 months ago