Prisma-AppSync transforms your Prisma schema into a fully-featured GraphQL API tailored for AWS AppSync. Version 1.0.2 (latest) provides auto-generated CRUD operations, TypeScript client for Lambda resolvers, pre-configured security (XSS protection, query depth limiting, rate limiting), and flexible authorization (API keys, IAM, Cognito). Released under MIT license. Differentiator: deep integration with Prisma and AppSync, unlike generic GraphQL-to-DynamoDB tools.
npm install prisma-appsyncNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to initialize Prisma-AppSync client, create a schema from Prisma client, and deploy to AWS AppSync.
Upgrade Node.js to version 14 or later.
Use import syntax instead of require(). Ensure package.json has 'type': 'module' or use .mjs extension.
Use { authorization: { mode: 'API_KEY' } } instead of { auth: { mode: 'API_KEY' } }.Pass the result of createSchema() directly; do not serialize.
Set a unique API name or use 'update' mode if supported.
npm install prisma-appsync
Add 'type': 'module' to package.json or migrate to ESM.
Use 'import { createSchema } from 'prisma-appsync''.Replace 'auth' key with 'authorization'.