0.1.0 • Published 6 years ago

fancy-ids v0.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

Fancy-ids

Generates human-readable strings composed of english words, based on numbers. The calculation is fully reversible, so for example:

> f.fancyId(900000)
'Is-Year-Automatically-Different'
> f.fancyId('Is-Year-Automatically-Different')
900000

In other words, it is guaranteed that fancyId(fancyId(n)) === n.

The intended use-case is to use these on the user-facing end in for example urls where you have a database id as part of your url. So https://mysite.com/items/Is-Recipe-Primarily-Embarrassed instead of https://mysite.com/items/12387632.

0.1.0

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago