You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #39 adds opt-in BigInt support for encode() and decode(), including unsigned 64-bit values, input validation, TypeScript types, tests, and a usage example. Feedback and reviews are welcome! @4kimov
Right now max value is
Number.MAX_SAFE_INTEGER, with no support for bigints. This is an issue for tracking this feature. Hashids has support for it here (for reference): https://github.com/niieani/hashids.js/blob/master/src/hashids.tsTodos:
encode()/decode()maxValue()