Releases: T-PWK/biguint-format
Releases · T-PWK/biguint-format
Release v1.0.0
Release v0.2.2
Default formatting is set to dec
(decimal) if formatting attribute is not provided.
Example: those two statements will result in the same output now
var format = require('biguint-format');
format([0x2A, 0xFF, 0x1E, 0x22, 0x11, 0x30, 0x12, 0x2F], 'dec');
format([0x2A, 0xFF, 0x1E, 0x22, 0x11, 0x30, 0x12, 0x2F]);
Release v0.2.1
A few fixes to enable running in strict mode added
Release v0.2.0
API Change
- The module is a format function - not an object with format function as in version
0.1.x
New Options
trim
takes boolean value - trims leading 0's for binary formattingpadstr
string used for left-paddingsize
specifies required size of a formatted number. If length of the formatted value is less thansize
value then string is padded usingpadstr
Release 0.1.1
v0.1.1 Update README.md