0.2.0 • Published 6 years ago

ice-to-bson v0.2.0

Weekly downloads
1
License
GPL-2.0
Repository
-
Last release
6 years ago

Ice To BSON npm version Build Status

Encode and decode ZeroC Ice objects into BSON objects.

Installation

npm install ice-to-bson

Usage

import {iceToBson, bsonToIce} from 'ice-to-bson';

// Convert any JS object containing Ice Object values somewhere in the tree.
// Converting Ice Structs not contained inside Ice Objects is not supported
// due to Ice limitations.
const bson = iceToBson(iceObject);

const readIceObject = bsonToIce(bson);
0.2.0

6 years ago

0.1.0

7 years ago