bson-timestamp

BSON Timestamp without mongodb driver or bson module.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
bson-timestamp
100.1.27 years ago7 years agoMinified + gzip package size for bson-timestamp in KB

Readme

bson-timestamp
NPM version
This mdoule allows you to create and parse BSON Timestamps without a reference to the mongodb or bson modules.
It is just a mirrow of the timestamp.js file in bson

Motivation

I created this for my mongo-oplog-cursor project, where I just needed to use the Timestamp class for a tiny conversion, so please use at your own risk :-)

Instalation

$ npm install bson-timestamp

Usage

Check the official use guide

Build

$ make build

License

Apache v2.0
See LICENSE file.