2.18.2 • Published 12 months ago

typedb-client v2.18.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
12 months ago

TypeDB Client for Node.js

Factory Discord Discussion Forum Stack Overflow Stack Overflow

Client Architecture

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

API Reference

To learn about the methods available for executing queries and retrieving their answers using Client Node.js, refer to TypeDB > Client API > Node.js > API Reference.

Concept API

To learn about the methods available on the concepts retrieved as the answers to TypeQL queries, refer to TypeDB > Concept API > Overview.

Installation

Node.js version 14 or above is recommended.

npm install typedb-client

Further documentation: https://docs.vaticle.com/docs/client-api/nodejs

Using TypeScript

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

import { EntityType } from 'typedb-client';

Build TypeDB Client for Node.js from Source

Note: You don't need to compile TypeDB Client from source if you just want to use it in your code. See the "Import TypeDB Client 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 Client can be run without TypeScript, however its type assertions may make development smoother.

2.18.2

12 months ago

2.17.0

1 year ago

2.16.1

1 year ago

2.14.2

1 year ago

2.11.1

2 years ago

2.9.0

2 years ago

2.8.0

2 years ago

2.6.1

2 years ago

2.6.2

2 years ago

2.5.0

3 years ago

2.4.0

3 years ago

2.2.0

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago