Get your own website
var buf = Buffer.from('abc');

console.log(buf.toJSON());

              

{ type: 'Buffer', data: [ 97, 98, 99 ] }