https://github.com/uppercod/hash
https://github.com/uppercod/hash
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/uppercod/hash
- Owner: UpperCod
- Created: 2020-08-23T01:04:36.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-19T23:24:13.000Z (over 5 years ago)
- Last Synced: 2025-03-16T04:34:18.968Z (over 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hash
Generates a hash based on `[anteesor, current, successor]`, this always refers to the same value so it can be used to associate unique.
## install
```
npm install @uppercod/hash
```
## Usage
```js
import hash from "@uppercod/hash";
hash("https://github.com/UpperCod"); // "9a8-a0c-9a4"
hash("abc"); // "c3-126-c5"
```