Skip to content

Releases: T-PWK/biguint-format

Release v1.0.0

22 Dec 15:23
Compare
Choose a tag to compare

Release changes

  • Documentation updates - issue #2 Error : has no method format

Compatibility

All 1.x releases will have API compatible with release 1.0.0

Release v0.2.2

19 Sep 15:33
Compare
Choose a tag to compare

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

02 Jun 13:58
Compare
Choose a tag to compare

A few fixes to enable running in strict mode added

Release v0.2.0

04 Feb 12:19
Compare
Choose a tag to compare

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 formatting
  • padstr string used for left-padding
  • size specifies required size of a formatted number. If length of the formatted value is less than size value then string is padded using padstr

Release 0.1.1

03 Feb 10:42
Compare
Choose a tag to compare
v0.1.1

Update README.md