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.
Refactor most functions into class methods - the "
Map
ofUint8Array
s" 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
andbrowser
inpackage.json
, version bump to 1.0.0, the works.