Official Node.js SDK for Appwrite, an open-source backend-as-a-service platform that simplifies common backend tasks like authentication, database, storage, and serverless functions via a REST API. Current version 26.1.0 supports Appwrite server 1.9.x. Released weekly, with major versions aligning to server API updates. Key differentiators: self-hosted, full control over data, built-in permissions and security, real-time capabilities, and cross-platform SDKs. TypeScript types are included. ESM and CJS dual support. Over 150k weekly npm downloads.
npm install node-appwriteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes the client, creates a Users service, and creates a new user with unique ID.
Replace .setApiKey(key) with .setKey(key)
Update code to use async/await or .then() (promises still supported). Callback patterns (success, error) are no longer accepted.
Remove .setSelfSigned() calls. For development, use environment variable APPWRITE_SELF_SIGNED=1 or set via client configuration.
Always provide generic parameter: db.listDocuments<MyType>('collectionId')Set the environment variable NODE_APPWRITE_FETCH to 'native' to use the built-in fetch in Node 18+ and avoid conflicts.
Verify .setEndpoint() and .setProject() values. Ensure project ID is from Appwrite console (not project name).
Ensure Client is instantiated and configured before creating services: const users = new Users(client);
Check Appwrite server is running and endpoint matches: use http://localhost/v1 for local dev without SSL.
Generate a new API key in Appwrite console with appropriate scopes, and pass it via .setKey(key).
No dependency data recorded yet.