{"library":"sofa-api","type":"library","category":null,"description":"Convert a GraphQL schema into REST API endpoints automatically. Current stable version is 0.18.10, released as a mature library under the GraphQL Hive organization. It generates RESTful routes from GraphQL queries, mutations, and subscriptions, supporting nested models with ID-based linking and customization of HTTP methods, paths, and status codes. Differentiators: no framework dependency, extensible with custom context and ignored fields, and built-in model resource pattern for nested data.","language":"javascript","status":"active","version":"0.18.10","tags":["javascript","api","rest","graphql","sofa","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install sofa-api","imports":["import { useSofa } from 'sofa-api'","const { useSofa } = require('sofa-api')","import type { SofaConfig } from 'sofa-api'"]},{"cmd":"yarn add sofa-api","imports":[]},{"cmd":"pnpm add sofa-api","imports":[]}],"homepage":"https://github.com/graphql-hive/sofa#readme","github":"https://github.com/graphql-hive/sofa","docs":null,"changelog":null,"pypi":null,"npm":"sofa-api","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}