This package has been deprecated

Author message:

Use ice-to-plain

ice-to-bson
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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);

Readme

Keywords

Package Sidebar

Install

npm i ice-to-bson

Weekly Downloads

1

Version

0.2.0

License

GPL-2.0

Last publish

Collaborators

  • aikoven