convex

get-convex
esm cjs
convex JS library homepage convex JS library on GitHub convex JS library on npm Download convex JS library

Client for the Convex Cloud

Version 1.24.3 License Apache-2.0 Vulnerabilities 0
convex JS library homepage
convex JS library on GitHub
convex JS library on npm
Download convex JS library
Keywords
convexdatabasereactstateserverless
INSTALL
Type:
Version:
<script type="module"> import convex from 'https://cdn.jsdelivr.net/npm/convex@1.24.3/+esm' </script>
Learn more

Convex

TypeScript/JavaScript client libraries and CLI for Convex.

Convex is the backend application platform with everything you need to build your product.

Get started at docs.convex.dev!

Or see Convex demos.

Open discussions and issues in this repository about Convex TypeScript/JavaScript clients, the Convex CLI, or the Convex platform in general.

Also feel free to share feature requests, product feedback, or general questions in the Convex Discord Community.

Structure

This package includes several entry points for building apps on Convex:

  • convex/server: Helpers for implementing Convex functions and defining a database schema.
  • convex/react: Hooks and a ConvexReactClient for integrating Convex into React applications.
  • convex/browser: A ConvexHttpClient for using Convex in other browser environments.
  • convex/values: Utilities for working with values stored in Convex.
  • convex/react-auth0: A React component for authenticating users with Auth0.
  • convex/react-clerk: A React component for authenticating users with Clerk.

This package also includes convex, the command-line interface for managing Convex projects.

Building

npm pack produces a public build with internal types removed.