{"library":"graphql-ssg","type":"library","category":null,"description":"graphql-ssg (version 0.4.8) is a static site generator (SSG) that specializes in bundling HTML from data feeds, particularly those powered by GraphQL. Unlike many Node.js-based SSGs, it uniquely performs bundling within a browser environment, leveraging native ESModules, URL imports, and import maps. This design choice aligns well with Web Components architectures, allowing for direct use of browser features for content generation. The project is currently in a pre-1.0 development phase, suggesting its API might evolve, but it provides a functional CLI for initializing, watching, and building projects. Key differentiators include its browser-centric bundling, automatic generation of typed GraphQL clients (via the `Chain` helper) based on configured schemas, and secure injection of configuration and environment variables into page-generating functions, preventing secret exposure. It supports both JavaScript and TypeScript page definitions for content creation.","language":"javascript","status":"active","version":"0.4.8","tags":["javascript","react","graphql"],"last_verified":"Wed May 27","install":[{"cmd":"npm install graphql-ssg","imports":["import { Chain } from '../ssg/{schema-name}/index.js'","import { html } from '../ssg/basic.js'","import { md } from '../ssg/md.js'"]},{"cmd":"yarn add graphql-ssg","imports":[]},{"cmd":"pnpm add graphql-ssg","imports":[]}],"homepage":null,"github":"https://github.com/graphql-editor/graphql-ssg","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/graphql-ssg","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/graphql-ssg/compatibility"}}