All Projects → RedisGraph → Redisgraph.js

RedisGraph / Redisgraph.js

Licence: bsd-3-clause
A Javascript client for RedisGraph

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Redisgraph.js

Redisgraph Py
RedisGraph python client
Stars: ✭ 147 (+75%)
Mutual labels:  cypher, redis
Redisgraph
A graph database as a Redis module
Stars: ✭ 1,292 (+1438.1%)
Mutual labels:  cypher, redis
Redisworks
Pythonic Redis Client
Stars: ✭ 78 (-7.14%)
Mutual labels:  redis
Ioredis
🚀 A robust, performance-focused, and full-featured Redis client for Node.js.
Stars: ✭ 9,754 (+11511.9%)
Mutual labels:  redis
Pybbs
更实用的Java开发的社区(论坛),Better use of Java development community (forum)
Stars: ✭ 1,242 (+1378.57%)
Mutual labels:  redis
Community
一个仿照牛客网实现的讨论社区,不仅实现了基本的注册,登录,发帖,评论,点赞,回复功能,同时使用前缀树实现敏感词过滤,使用wkhtmltopdf生成长图和pdf,实现网站UV和DAU统计,并将用户头像等信息存于七牛云服务器。
Stars: ✭ 80 (-4.76%)
Mutual labels:  redis
Redis Operator
Redis Operator for Kubernetes
Stars: ✭ 81 (-3.57%)
Mutual labels:  redis
1store
NoSQL data store using the SEASTAR framework, compatible with Redis
Stars: ✭ 1,212 (+1342.86%)
Mutual labels:  redis
Myblog
有深度的Java技术博客
Stars: ✭ 1,251 (+1389.29%)
Mutual labels:  redis
Fxshop
基于SpringBoot+SpringCloud微服务的商城项目(demo版 不可用于生产)
Stars: ✭ 82 (-2.38%)
Mutual labels:  redis
Neo4j
Graphs for Everyone
Stars: ✭ 9,582 (+11307.14%)
Mutual labels:  cypher
Dramatiq dashboard
A dashboard for dramatiq, specific to its Redis broker.
Stars: ✭ 82 (-2.38%)
Mutual labels:  redis
Redisratelimiter
Redis Based API Access Rate Limiter
Stars: ✭ 80 (-4.76%)
Mutual labels:  redis
Butterfly
🔥 蝴蝶--【简单】【稳定】【好用】的 Python web 框架🦋 除 Python 2.7,无其他依赖; 🦋 butterfly 是一个 RPC 风格 web 框架,同时也是微服务框架,自带消息队列通信机制实现分布式
Stars: ✭ 82 (-2.38%)
Mutual labels:  redis
Exq
Job processing library for Elixir - compatible with Resque / Sidekiq
Stars: ✭ 1,218 (+1350%)
Mutual labels:  redis
Phpredis
A PHP extension for Redis
Stars: ✭ 9,203 (+10855.95%)
Mutual labels:  redis
Poopak
POOPAK - TOR Hidden Service Crawler
Stars: ✭ 78 (-7.14%)
Mutual labels:  redis
Bankflix
Aplicação que simula um banco digital, contendo a área do cliente e administrativa, permitindo depósitos e transferências entre contas do mesmo banco. | Application that simulates a digital bank, containing the customer and administrative areas, allowing deposits and transfers between accounts of the same bank.
Stars: ✭ 82 (-2.38%)
Mutual labels:  redis
Cs Books
超过1000本的计算机经典书籍、个人笔记资料以及本人在各平台发表文章中所涉及的资源等。书籍资源包括C/C++、Java、Python、Go语言、数据结构与算法、操作系统、后端架构、计算机系统知识、数据库、计算机网络、设计模式、前端、汇编以及校招社招各种面经~
Stars: ✭ 1,215 (+1346.43%)
Mutual labels:  redis
Redisjson
RedisJSON - a JSON data type for Redis
Stars: ✭ 1,239 (+1375%)
Mutual labels:  redis

license CircleCI GitHub issues npm version Codecov Language grade: JavaScript Known Vulnerabilities

redisgraph.js

Forum Discord

RedisGraph JavaScript Client - API Docs

Installation

Installation is done using the npm install command:

npm install redisgraph.js

For installing the latest snapshot use

npm install github:RedisGraph/redisgraph.js.git

Overview

Example: Using the JavaScript Client

const RedisGraph = require("redisgraph.js").Graph;

let graph = new RedisGraph("social");

(async () =>{
        await graph.query("CREATE (:person{name:'roi',age:32})");
        await graph.query("CREATE (:person{name:'amit',age:30})");
        await graph.query("MATCH (a:person), (b:person) WHERE (a.name = 'roi' AND b.name='amit') CREATE (a)-[:knows]->(b)");
        
        // Match query.
        let res = await graph.query("MATCH (a:person)-[:knows]->(:person) RETURN a.name");
        while (res.hasNext()) {
            let record = res.next();
            console.log(record.get("a.name"));
        }
        console.log(res.getStatistics().queryExecutionTime());
    
        // Match with parameters.
        let param = {'age': 30};
        res = await graph.query("MATCH (a {age: $age}) return a.name", param);
        while (res.hasNext()) {
            let record = res.next();
            console.log(record.get("a.name"));
        }
    
        // Named paths matching.
        res = await graph.query("MATCH p = (a:person)-[:knows]->(:person) RETURN p");
        while (res.hasNext()) {
            let record = res.next();
            // See path.js for more path API.
            console.log(record.get("p").nodeCount);
        }
        graph.deleteGraph();
        graph.close();
    
    })();

Running tests

A simple test suite is provided, and can be run with:

$ npm test

The tests expect a Redis server with the RedisGraph module loaded to be available at localhost:6379

License

redisgraph.js is distributed under the BSD3 license - see LICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].