L29 of index.js contains var buffer = Buffer(paddedStringLength);, where it should be var buffer = new Buffer(paddedStringLength);
Doing so will give the warning (node:25634) DeprecationWarning: Using Buffer withoutnewwill soon stop working. Usenew Buffer(), or preferablyBuffer.from(),Buffer.allocUnsafe()orBuffer.alloc()instead. in node v7
L29 of index.js contains
var buffer = Buffer(paddedStringLength);
, where it should bevar buffer = new Buffer(paddedStringLength);
Doing so will give the warning
(node:25634) DeprecationWarning: Using Buffer without
newwill soon stop working. Use
new Buffer(), or preferably
Buffer.from(),
Buffer.allocUnsafe()or
Buffer.alloc()instead.
in node v7