Package: hashids 0.9.0.9000

Alex Shum

hashids: Generate Short Unique YouTube-Like IDs (Hashes) from Integers

An R port of the hashids library. hashids generates YouTube-like hashes from integers or vector of integers. Hashes generated from integers are relatively short, unique and non-seqential. hashids can be used to generate unique ids for URLs and hide database row numbers from the user. By default hashids will avoid generating common English cursewords by preventing certain letters being next to each other. hashids are not one-way: it is easy to encode an integer to a hashid and decode a hashid back into an integer.

Authors:Alex Shum [aut, cre], Ivan Akimov [aut], David Aurelio [ctb]

hashids_0.9.0.9000.tar.gz
hashids_0.9.0.9000.zip(r-4.5)hashids_0.9.0.9000.zip(r-4.4)hashids_0.9.0.9000.zip(r-4.3)
hashids_0.9.0.9000.tgz(r-4.4-any)hashids_0.9.0.9000.tgz(r-4.3-any)
hashids_0.9.0.9000.tar.gz(r-4.5-noble)hashids_0.9.0.9000.tar.gz(r-4.4-noble)
hashids_0.9.0.9000.tgz(r-4.4-emscripten)hashids_0.9.0.9000.tgz(r-4.3-emscripten)
hashids.pdf |hashids.html
hashids/json (API)

# Install 'hashids' in R:
install.packages('hashids', repos = c('https://alshum.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/alshum/hashids-r/issues

On CRAN:

9 exports 18 stars 1.96 score 0 dependencies 14 scripts 168 downloads

Last updated 6 years agofrom:c696e0c088. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 04 2024
R-4.5-winOKSep 04 2024
R-4.5-linuxOKSep 04 2024
R-4.4-winOKSep 04 2024
R-4.4-macOKSep 04 2024
R-4.3-winOKSep 04 2024
R-4.3-macOKSep 04 2024

Exports:decodedecode_hexDEFAULT_ALPHABETDEFAULT_SEPSencodeencode_hexhashid_settingsRATIO_GUARDSRATIO_SEPARATORS

Dependencies: