{"id":21730586,"url":"https://github.com/thekorn/deno-build-mongodb-native","last_synced_at":"2026-04-20T05:06:59.149Z","repository":{"id":44396778,"uuid":"512392535","full_name":"thekorn/deno-build-mongodb-native","owner":"thekorn","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-23T21:37:33.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T20:09:55.287Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thekorn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-10T09:19:26.000Z","updated_at":"2022-07-10T10:18:53.000Z","dependencies_parsed_at":"2023-01-30T19:45:49.940Z","dependency_job_id":null,"html_url":"https://github.com/thekorn/deno-build-mongodb-native","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thekorn%2Fdeno-build-mongodb-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thekorn%2Fdeno-build-mongodb-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thekorn%2Fdeno-build-mongodb-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thekorn%2Fdeno-build-mongodb-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thekorn","download_url":"https://codeload.github.com/thekorn/deno-build-mongodb-native/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244707555,"owners_count":20496755,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-26T04:16:20.544Z","updated_at":"2026-04-20T05:06:54.107Z","avatar_url":"https://github.com/thekorn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build mongodb-native client for deno\n\nThis repository includes all tooling and required changes to build the `mongodb-native` client for deno.\n\n## Howto port the deno libraries\n\n### Prerequisite\n\nInstall `deno`, see [documentation](https://deno.land/manual/getting_started/installation)\nThe node `typescript` library is used to process upstream, run `npm install` in the root of the repository\n\n### update upstream\n\nupstream of `js-bson` is tracked as git submodule, use usual `git submodules` techniques to fetch and potentially update the upstream baseline, like\n\n```\n$ git submodule update --init --recursive --remote\n```\n\n### build bson-deno\n\nFirst clone the current version of `bson-deno`:\n\n```\n$ deno run -A tools/drake/local-drakefile.ts clone-bson-deno\n```\n\nThen compile the new version of `bson-deno`:\n\n```\n$ deno run -A tools/drake/local-drakefile.ts build-bson-deno\n```\n\n## TODOS\n\n- [ ] port js-bson for deno\n  - [x] fix type exports in `src/bson.ts`\n        In order to fix this issue upstream a ticket and [PR](https://github.com/mongodb/js-bson/pull/507) has been created. As a workaround a firk with this feature applied is used as a baseline\n  - [x] implement a basic set of tests for `bson-deno`\n  - [ ] potentially even consider porting all upstream tests\n- [ ] port node-mongodb-native for deno\n- [ ] implement bson-ext in rust / wasm (or not, as bson-ext is [reaching EOL](https://jira.mongodb.org/projects/NODE/issues/NODE-3654))\n\n## Thanks\n\n- the inspiration for this project came from this [blogpost from edgeDB](https://www.edgedb.com/blog/how-we-converted-our-node-js-library-to-deno-using-deno) - early version of the compiler is also based on their work\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthekorn%2Fdeno-build-mongodb-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthekorn%2Fdeno-build-mongodb-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthekorn%2Fdeno-build-mongodb-native/lists"}