{"library":"apollo-server-nextjs","type":"library","category":null,"description":"A lightweight Apollo Server integration for Next.js API routes. Current version 3.10.3 supports Node >=12, GraphQL 15/16, and Next.js 12+. Provides a simple `ApolloServerNext` class that plugs into Next.js pages/api handlers, handling CORS, body parsing, and error formatting. Unlike `apollo-server-micro` or standalone solutions, it's optimized for Next.js's serverless environment. Ships TypeScript types.","language":"javascript","status":"active","version":"3.10.3","tags":["javascript","GraphQL","Apollo","Server","Lambda","Javascript","Next.js","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install apollo-server-nextjs","imports":["import { ApolloServerNext } from 'apollo-server-nextjs'","import { startServerAndCreateNextHandler } from 'apollo-server-nextjs'","import type { ApolloServerNextConfig } from 'apollo-server-nextjs'"]},{"cmd":"yarn add apollo-server-nextjs","imports":[]},{"cmd":"pnpm add apollo-server-nextjs","imports":[]}],"homepage":"https://github.com/apuyou/apollo-server-nextjs#readme","github":"https://github.com/apuyou/apollo-server-nextjs","docs":null,"changelog":null,"pypi":null,"npm":"apollo-server-nextjs","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}