feross / safe-buffer

Safer Node.js Buffer API
MIT License
344 stars 36 forks source link

Deprecate npm package #32

Open jimmywarting opened 3 years ago

jimmywarting commented 3 years ago

I think it have come to a time where we no longer need Safe-Buffer in modern day codes Think the npm package should be deprecated

Encourage ppl to use Uint8Array, TextEncoder, DataView instead 😉

Rudxain commented 2 years ago

I agree. This is both good and bad news.

After full deprecation, the repo should be archived

Ucok23 commented 6 months ago

Not yet possible since many project still depends on it, like express

asukaminato0721 commented 4 days ago

A temp solution is to npx nolyfill, which will do the work, and the code will not be affected.