gremlin-js-driver

0.0.1 • Public • Published

Drivers for JavaScript Gremlin Language library

This module contains additional drivers for official gremlin library

Implemented drivers:

Name Description
WsJsDriverRemoteConnection Websocket connection for Web applications

How to use it

Install package using npm

npm install gremlin-js-driver --save

or yarn

yarn add gremlin-js-driver

Use it in your application:

const gremlin = require('gremlin');
const gremlin_drivers = require('gremlin-js-driver');
const traversal = gremlin.process.AnonymousTraversalSource.traversal;
 
const WsJsDriverRemoteConnection = gremlin_drivers.WsJsDriverRemoteConnection;
 
const g = traversal().withRemote(new WsJsDriverRemoteConnection('ws://localhost:8182/gremlin'));

Please see the documentation for gremlin library for more information.

Package Sidebar

Install

npm i gremlin-js-driver

Weekly Downloads

1

Version

0.0.1

License

Apache-2.0

Unpacked Size

17 kB

Total Files

6

Last publish

Collaborators

  • bdhl_smoker