2.28.0 • Published 14 days ago

typedb-driver v2.28.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
14 days ago

TypeDB Node.js Driver

Factory Discord Discussion Forum Stack Overflow Stack Overflow

Driver Architecture

To learn about the mechanism that a TypeDB Driver uses to set up communication with databases running on the TypeDB Server, refer to the Clients Overview.

API Reference

To learn about the methods available for executing queries and retrieving their answers using Driver NodeJS, refer to the API Reference.

Installation

Node.js version 14 or above is recommended.

npm install typedb-driver

Further documentation: https://typedb.com/docs/drivers/nodejs/overview

Using TypeScript

typedb-driver is a TypeScript project and provides its own type definitions out of the box - for example:

import { EntityType } from 'typedb-driver';

Build TypeDB Driver for Node.js from Source

Note: You don't need to compile TypeDB Driver from source if you just want to use it in your code. See the "Import TypeDB Driver for Node.js" section above.

We recommend using yarn, see https://yarnpkg.com/ for information about yarn.

  1. Make sure you have the following installed: Node.js (version 14 or above); npm package manager; yarn package manager.
  2. Clone the project and run yarn at the root directory (containing package.json)
  3. Run yarn run build
  4. The JavaScript files, and their matching TypeScript type definitions are compiled to the dist directory.

Note: TypeDB Driver can be run without TypeScript, however its type assertions may make development smoother.

2.28.0

14 days ago

2.28.0-rc0

28 days ago

2.27.0

2 months ago

2.27.0-rc0

2 months ago

2.26.6

3 months ago

2.26.6-rc0

3 months ago

2.26.6-rc1

3 months ago

2.26.5

4 months ago

2.26.3

4 months ago

2.26.2

4 months ago

2.26.1

5 months ago

2.26.0

5 months ago

2.25.8

5 months ago

2.25.7

6 months ago

2.25.4

6 months ago

2.25.3

6 months ago

2.25.6

6 months ago

2.25.5

6 months ago

2.25.0

6 months ago

2.25.2

6 months ago

2.25.1

6 months ago

2.24.15

7 months ago

2.24.14

7 months ago

2.24.11

7 months ago

2.24.8

7 months ago

2.24.5

8 months ago

2.24.4

8 months ago