JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1823
  • Score
    100M100P100Q113663F

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

Package Exports

  • bson-ext

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bson-ext) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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