Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/informatix8/short-unique-id


https://github.com/informatix8/short-unique-id

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Short Unique ID

Generates short and unique IDs

## Example

```
import { ShortUniqueId } from '@informatix8/short-unique-id';

const generator = new ShortUniqueId();
console.log(generator.hash('aaa'));
console.log(generator.hash('aaa', 100));
```

## Release

```shell
npm run build
git tag -a vX.Y.Z
git push origin master
git push origin --tags
npm publish --access=public .
```