{"library":"persistgraphql","type":"library","category":null,"description":"A build tool and Apollo Client network interface for implementing GraphQL query whitelisting and persisted queries (v0.3.11, last release ~2017, no active maintenance). Scans source code for .graphql files and static GraphQL query strings, assigns each query a hash/ID, and produces a JSON mapping. Provides an Apollo Client network interface to send only the hash/ID instead of the full query string. Primarily useful for reducing bandwidth and enforcing query allowlists. Competes with tools like `persisted-query-lib` but is specific to Apollo Client's older architecture. Limited to statically analyzable queries; no support for dynamic queries. Ships TypeScript types.","language":"javascript","status":"deprecated","version":"0.3.11","tags":["javascript","typescript"],"install":[{"cmd":"npm install persistgraphql","imports":["import { addPersistedQueries } from 'persistgraphql'","import * as persistgraphql from 'persistgraphql'","import type { OutputMap } from 'persistgraphql'"]},{"cmd":"yarn add persistgraphql","imports":[]},{"cmd":"pnpm add persistgraphql","imports":[]}],"homepage":null,"github":"https://github.com/Poincare/apollo-query-whitelisting","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/persistgraphql","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/persistgraphql/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}