Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/informatix8/short-unique-id
https://github.com/informatix8/short-unique-id
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/informatix8/short-unique-id
- Owner: informatix8
- Created: 2020-07-15T13:36:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-17T15:49:26.000Z (over 4 years ago)
- Last Synced: 2025-01-07T11:05:22.074Z (about 1 month ago)
- Language: TypeScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 .
```