This repository includes all tooling and required changes to build the mongodb-native
client for deno.
Install deno
, see documentation
The node typescript
library is used to process upstream, run npm install
in the root of the repository
upstream of js-bson
is tracked as git submodule, use usual git submodules
techniques to fetch and potentially update the upstream baseline, like
$ git submodule update --init --recursive --remote
First clone the current version of bson-deno
:
$ deno run -A tools/drake/local-drakefile.ts clone-bson-deno
Then compile the new version of bson-deno
:
$ deno run -A tools/drake/local-drakefile.ts build-bson-deno
- port js-bson for deno
- fix type exports in
src/bson.ts
In order to fix this issue upstream a ticket and PR has been created. As a workaround a firk with this feature applied is used as a baseline - implement a basic set of tests for
bson-deno
- potentially even consider porting all upstream tests
- fix type exports in
- port node-mongodb-native for deno
- implement bson-ext in rust / wasm (or not, as bson-ext is reaching EOL)
- the inspiration for this project came from this blogpost from edgeDB - early version of the compiler is also based on their work