Dgraph JavaScript HTTP Client
JSON →dgraph-js-http is the official JavaScript HTTP client for Dgraph, a distributed graph database. It enables interaction with Dgraph instances over HTTP, supporting fundamental graph operations like queries, mutations, and schema alterations. This client is suitable for both browser and Node.js environments where a gRPC connection, typically handled by the `dgraph-js` library, might be impractical or undesirable. The latest release series is currently `v23.0.0-rc1`, indicating a development stage. While the project previously followed a CalVer (Calendar Versioning) scheme aligned with Dgraph server releases, the recent release cadence seems more feature-driven. Key differentiators include its lightweight HTTP-based approach, comprehensive API for DQL operations, and robust support for Dgraph Cloud features such as ACLs, API key management (`setCloudApiKey`), and multi-tenancy via `loginIntoNamespace()`. The library actively incorporates security fixes and addresses known vulnerabilities.
Traffic · last 30 days ↓67% vs prev 7d
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany