{"library":"gremlin","type":"library","category":null,"description":"The `gremlin` package provides the official JavaScript Gremlin Language Variant (GLV) for Apache TinkerPop, enabling developers to interact with any TinkerPop-enabled graph database. Currently stable at version 3.8.1, this driver is actively maintained with typically 3-4 releases per year, often aligning with major/minor TinkerPop versions. It differentiates itself by being the official Apache project, supporting bytecode-based traversals (the recommended approach over string-based scripts for better performance, portability, and security), and runs on Node.js (version 20 and higher) with experimental support for Web APIs. The driver establishes a WebSocket connection to a remote Gremlin Server or a compatible graph provider, translating JavaScript method calls into Gremlin traversals for execution on the server-side.","language":"javascript","status":"active","version":"3.8.1","tags":["javascript","graph","gremlin","tinkerpop","apache-tinkerpop","connection","glv","driver","database"],"last_verified":"Wed May 27","install":[{"cmd":"npm install gremlin","imports":["import { Client } from 'gremlin/lib/driver/client';","import { DriverRemoteConnection } from 'gremlin/lib/driver/driver-remote-connection';","import { AnonymousTraversalSource } from 'gremlin/lib/process/anonymous-traversal-source';\nconst g = AnonymousTraversalSource.traversal().withRemote(connection);","import { statics } from 'gremlin/lib/process/traversal';\nconst { P } = statics;"]},{"cmd":"yarn add gremlin","imports":[]},{"cmd":"pnpm add gremlin","imports":[]}],"homepage":"https://tinkerpop.apache.org","github":"https://github.com/apache/tinkerpop","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/gremlin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/gremlin/compatibility"}}