6.0.2 • Published 19 days ago

falkordb v6.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
19 days ago

falkordb-ts

Tests Coverage License

Discord Twitter

falkordb is a FalkorDB client for Node.js.

Installation

Start a falkordb via docker:

docker run -p 6379:6379 -it falkordb/falkordb:latest

To install node falkordb, simply:

npm install falkordb

Usage

Basic Example

import { FalkorDB } from 'falkordb';

const db = await FalkorDB.connect({
    username: 'myUsername',
    password: 'myPassword',
    socket: {
        host: 'localhost',
        port: 6379
    }
})

console.log('Connected to FalkorDB')

const graph = db.selectGraph('myGraph')

const result = await graph.query('MATCH (n) RETURN n')
console.log(result)

console.log(await db.list())
console.log(await db.info())

db.close()

.close()

Forcibly close a client's connection to FalkorDB immediately. Calling close will not send further pending commands to the Redis server, or wait for or parse outstanding responses.

await client.close();

License

This repository is licensed under the "MIT" license. See LICENSE.

6.0.2

19 days ago

6.0.1

1 month ago

6.0.0

1 month ago

6.0.0-beta.4

2 months ago

6.0.0-beta.3

2 months ago

6.0.0-beta.1

2 months ago

6.0.0-beta.2

2 months ago

5.0.1

6 months ago

5.0.0

6 months ago

4.6.14

6 months ago

4.6.13

6 months ago

4.6.12

6 months ago

4.6.11

6 months ago