1.2.1 • Published 4 years ago

reversible-human-readable-id v1.2.1

Weekly downloads
65
License
MIT
Repository
gitlab
Last release
4 years ago

Reversible-human-readable-id

Build Status Coverage Status

Takes a string, converts it to a 128 bit hash, converts the hash to a freindly name and stores the result in a key value pair locally. Making searching for both key value pair simple and easy.

Thanks to human-readable and docker for the assets and local for storing locally.

Installation

npm

npm install reversible-human-readable-id

Example

Create name

getHR('9028j9ko39i53klf');
'swift-engelbart-grasshopper'

Fetch name

getHR('9028j9ko39i53klf');
'swift-engelbart-grasshopper'
getId('swift-engelbart-grasshopper');
'9028j9ko39i53klf'
1.2.1

4 years ago

1.2.0

5 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.0

6 years ago