Socket
Socket
Sign inDemoInstall

@convex-dev/browser

Package Overview
Dependencies
14
Maintainers
7
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @convex-dev/browser

This is the client-side Convex SDK.


Version published
Maintainers
7
Created

Readme

Source

@convex-dev/browser

Client library for interacting with the Convex Cloud.

Convex is a platform for building dynamic applications without the complexity of managing a backend or interacting with a database. Data access functions run on the Convex Cloud platform and use the @convex-dev/server libraries to read and manipulate data. This package is used in frontend code to interact with these server-side functions.

Usage

Create a ConvexHttpClient to connect to the Convex Cloud.

import { ConvexHttpClient } from "@convex-dev/browser";

// Load the Convex config from its file inside your repository.
import convexConfig from "../convex.json";
const convex = new ConvexHttpClient(convexConfig.origin):

See the Convex documentation to get started!

See Also

  • @convex-dev/server is the library used by Convex server functions to interact with data.
  • @convex-dev/react is a layer on top of this package that provides React hooks for data binding to Convex functions.
  • @convex-dev/cli is the CLI tool for spinning up Convex backends and syncing functions.

Keywords

FAQs

Last updated on 31 Mar 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc