All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.0.0: 2023-07-24
- Read and encode input from leftmost bits first per the spec
- Removed
stripLeadingZeros
option
1.1.0 - 2021-10-27
- Ability to strip leading zeros from encoded value
- Ability to strip leading zeros from decoded value
- Ability to decode to a
bigint
instead ofstring
encode()
now accepts abigint
in addition toBuffer
ornumber
- Ignore hyphens when decoding
- Copy input buffer so it is not modified
1.0.1 - 2021-10-25
- Created README
1.0.0 - 2021-10-24
- Ability to encode an input buffer to base 32
- Ability to encode a number to base 32
- Ability to decode a base 32 string to a buffer