Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Versions
- v1.0.6Latest
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v1.0.0-beta.21
- v1.0.0-beta.20
- v1.0.0-beta.19
- v1.0.0-beta.18
- v1.0.0-beta.17
- v1.0.0-beta.16
- v1.0.0-beta.15
- v1.0.0-beta.14
- v1.0.0-beta.13
- v1.0.0-beta.12
- v1.0.0-beta.11
- v1.0.0-beta.10
- v1.0.0-beta.9
- v1.0.0-beta.8
- v1.0.0-beta.7
- v1.0.0-beta.6
- v1.0.0-beta.5
- v1.0.0-beta.4
- v1.0.0-beta.3
- v1.0.0-beta.2
- v1.0.0-beta.1
- v0.11.1
- v0.11.0
- v0.10.1
- v0.10.0
- v0.9.1
- v0.9.0
- v0.8.4
- v0.8.3
- v0.8.2
- v0.8.1
- v0.8.0
- v0.7.3
- v0.7.2
- v0.7.1
- 0.7.0
- v0.6.0
- v0.5.0
- v0.4.0
- v0.2.1
- v0.2.0
- v0.1.0
surrealdb.js
The official SurrealDB library for JavaScript.
Contribution notes
Local setup
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 npm project setup has been added to build such versions using rollup and to manage dependencies for these environments.
Supported environments
Requirements
- Deno
- npm
- NodeJS
Build for all supported environments
For Deno, no build is needed. For all other environments run
npm run build
.
To watch for and auto rebuild changes:
npm run dev
.
Formatting
deno fmt
Linting
deno lint
PRs
Before you commit, please format and lint your code accordingly to check for errors.
Local setup
For local development the Deno extension for VSCode is helpful (hint: local Deno installation required).