es-tooling / module-replacements

A manifest of JS modules and their more modern/active replacements
MIT License
509 stars 28 forks source link

`buffer-equal` #170

Open stramel opened 2 weeks ago

stramel commented 2 weeks ago

buffer-equal can be replaced with native Node Buffer.prototype.equals

https://www.npmjs.com/package/buffer-equal https://nodejs.org/api/buffer.html#bufequalsotherbuffer

stramel commented 2 weeks ago

Likewise as pointed out by @ljharb that buffer-equals should be replaced as well.