This module allows you to zero fill buffer allocations.
npm install zero-bufferThis module is only supported in Node.js >= v4.x
$ node -p "new Buffer(4200).toString()" | strings
allocate
toString
E H8)
prototype@
n6U]
~2 $
nction
this
n6U]
arguments
size
~2 $
evalfine
undefined
.result
$ node -r zero-buffer -p "new Buffer(4200).toString()" | strings
* 1.0.1 - Now only zeros when an number is given