Skip to content

v4.0.0

Compare
Choose a tag to compare
@tristanls tristanls released this 06 Mar 23:57
· 13 commits to master since this release

Internal implementation now expects Uint8Array instead of Buffer for node ids. (#45)
Since Buffer extends Uint8Array, code using Buffer for node ids should continue to work.
kBucket.add() is faster in benchmark while perhaps slightly increasing heap usage.
Browsers no longer need Buffer polyfill to use k-bucket.