1.0.10 • Published 4 years ago

@fireflysemantics/cuid v1.0.10

Weekly downloads
9
License
MIT
Repository
github
Last release
4 years ago

Build Status

Cuid

Install

npm i -S @fireflysemantics/cuid
npm i -S tslib

Usage

This version of cuid is built mainly for the Typescript / Browser use case only. For node or react native, use cuid.

Identifiers generated with cuidSlug will be shorter:

import { cuid, cuidSlug as slug } from '@fireflysemantics/cuid';
console.log( `cuid: ${cuid()}`);
console.log( `slug: ${slug()}` );

Stackblitz Demo

Generating Collision Resistant Fast Unique IDs with Typescript

Build

Run npm run b to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with npm run p.

Running unit tests

Run npm t to execute the unit tests via delightful Jest.

This version of cuid is built mainly for the Typescript / Browser use case only. For node or react native, use cuid.

Build

Run npm run b to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with npm run p.

Running unit tests

Run npm t to execute the unit tests via delightful Jest.

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago