NordicSemiconductor / nrf-intel-hex

Yet another parser for "Intel HEX" files.
BSD 3-Clause "New" or "Revised" License
27 stars 8 forks source link

Refactor into "MemoryMap" class #2

Closed IvanSanchez closed 6 years ago

IvanSanchez commented 6 years ago

Refactor most functions into class methods - the "Map of Uint8Arrays" was used so extensively that it makes sense to make it into class instances. Other functions are static methods of the class.

Changes the API surface completely, but (I think) for the better.

Also adds some rollup+buble bundling, module and browser in package.json, version bump to 1.0.0, the works.

mrodem commented 6 years ago

Oh, and by the way, :+1: for all the unit tests.