A Node.js library for managing Service Level Agreements (SLA) for GraphQL APIs. It introspects a GraphQL endpoint, validates queries and mutations against SLA rules defined in YAML, and ensures API compliance. Current version 0.0.16, early stage with no recent updates. Differentiator: focused on SLA enforcement for GraphQL, not just rate limiting. Supports custom introspection depth and authentication headers.
npm install sla-graphql-managerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize SLA manager with introspection config, register a YAML SLA agreement, and handle validation result.
Pin to exact version and test on upgrade.
Use named import as shown.
Consider if actively maintained for production use.
Run 'npm install sla-graphql-manager' and ensure using ESM import syntax.
Use 'import { instanceSLAGraphqlManager } from 'sla-graphql-manager''Check url and provide headers if needed; verify network connectivity.