Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: bson
node v6.17.1
endpoint
share
tweet
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