Skip to content

mjancarik/easy-uid

Repository files navigation

easy-uid

Build Status Coverage Status NPM package version code style: prettier

Easy uid is the smallest (70 bytes) random URL-friendly uid generator based on Math.random for browser and node without external dependencies. It is useful for generating uid where is no need horizontal scaling and cryptographically security. For example: React Components key, element ids, etc.

Installation

npm i easy-uid --save

Usage

import uid from 'easy-uid';

uid(); //1cdcjhb913ov1a

About

Easy unique id generator for node and browser

Resources

Stars

Watchers

Forks

Packages

No packages published