A CLI and library for migrating data from JSON and SQL sources to graph databases (Gremlin-compatible, e.g., Azure Cosmos DB). Current version 0.0.2, stable but low release cadence. Supports JSON-to-Gremlin, JSON-to-graph, and SQL-to-graph conversion using Handlebars templates. Key differentiator: leverages a Vertex-Edge format inspired by Azure Cosmos Graph DB, enabling flexible mapping of flat data to graph structures. Ships TypeScript types. Limited to basic database dialects (mssql, mysql, sqlite, postgres). Minimal ecosystem and documentation, no active maintenance.
npm install graphdb-migration-tool-exNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Converts a JSON array of objects to Vertex-Edge format using a Handlebars template.
Consider alternatives like Neo4j ETL or Azure Cosmos DB Data Migration Tool.
Use one of: 'mysql', 'sqlite', 'postgres', 'mssql'.
Ensure template uses {{variable}} syntax and input objects contain corresponding keys.Install with 'npm i graphdb-migration-tool-ex'.
Ensure vertex id and edge from/to are both strings.
Use raw template strings or escape braces properly: replace {{ with \{\{ if not intended as placeholder.Ensure config has 'dialect', 'username', 'password', 'host', 'database'.
Check template output: must contain 'vertices' array and optionally 'edges' array.
No dependency data recorded yet.