RunKit + npm: bson

node v6.17.1
endpointsharetweet
bson = require("bson") BSON = new bson.BSONPure.BSON() uarr = new Uint8Array([1,2,3]) result = BSON.deserialize(BSON.serialize(uarr)) console.dir("original", uarr) console.dir("serialized", BSON.serialize(uarr)) console.dir("deserialized", result)
Created from: https://runkit.com/npm/bson
Loading…

no comments

    sign in to comment