A slimmed-down fork of graphql-js (v16.6.0) optimized for client-side use. Retains the core GraphQL language and operation execution, but removes server-only features (schema definition, validation, introspection) to reduce bundle size (~50% smaller). Published as 'graphql-web-lite' on npm. Suitable for lightweight GraphQL clients or fragments of graphql-js where full parser/executor is needed without schema building. Active maintenance tracking graphql-js releases.
npm install graphql-web-liteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic parse and execute of a GraphQL query with a resolver.
Use graphql-js if schema building or validation is required.
Use import syntax or dynamic import() instead of require().
Check compatibility with graphql-js versions carefully; treat as independent.
Use execute (async/await) instead.
Install the package: npm install graphql-web-lite. Ensure tsconfig.json includes node_modules in typeRoots.
Convert to ES modules (use import) or use dynamic import().
No dependency data recorded yet.