The official SurrealDB library for JavaScript.
This is a Deno project, not NodeJS. For example, this means import paths include the .ts
file extension. However, to also support other JavaScript environments, a build has been added to create a npm package that works for NodeJS, Bun, browsers with bundlers.
- Deno
- npm
- NodeJS
- Docker (for e2e tests)
- Bun (for e2e tests)
For Deno, no build is needed. For all other environments run
deno task build
.
deno fmt
deno lint
Before you commit, please format and lint your code accordingly to check for errors.
For local development the Deno extension for VSCode is helpful (hint: local Deno installation required).