Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
/ bson-ext Public archive

The C++ bson parser for the node.js mongodb driver.

License

Notifications You must be signed in to change notification settings

mongodb-js/bson-ext

Repository files navigation

bson-ext

linux build status windows build status

This module contains the BSON native addon only and is not meant to be used in isolation from the bson NPM module. It lives in it's own module so it can be an optional dependency for the bson module.

Testing

npm test

Prebuilt Binaries

Have you ever seen this message in your console?

js-bson: Failed to load c++ bson extension, using pure JS version

We are experimenting with node-pre-gyp to publish and install prebuilt binaries. This means you don't need the full toolchain installed and configured correctly to use this module and you'll never have to see this message again. Currently, prebuilt binaries will only be used for Windows, as it is the most problematic platform for this issue. This will also allow us more time to evaluate the costs and benefits of prebuilt support on OSX and Linux.

If you are interested in prebuilt binary support on OSX or Linux, please join the discussion on this issue!

License

Apache 2