
Product
Introducing the Alert Details Page: A Better Way to Explore Alerts
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.
@triplit/client
Advanced tools
@triplit/client is the official library running Triplit in the client and syncing with a Triplit server.
Official documentation is hosted here
You can install @triplit/client using npm, pnpm, yarn, or bun:
npm i @triplit/client
pnpm add @triplit/client
yarn add @triplit/client
bun add @triplit/client
Here's a simple example of how to use @triplit/client:
import { Client } from '@triplit/client';
const client = new Client({
/* configuration */
});
// Fetch data
const data = client.fetch(client.query('todos').build());
// Insert data
await client.transact(async (tx) => {
await tx.insert('todos', {
text: 'New Todo',
tagIds: new Set(['tag1', 'tag2']),
});
await tx.insert('tags', {
text: 'New Todo',
tagIds: new Set(['tag1', 'tag2']),
});
});
For more information and examples of @triplit/client in action, please refer to the official Triplit documentation.
| Framework | Package | Docs |
|---|---|---|
| Svelte | @triplit/svelte | Svelte Docs |
| React | @triplit/react | React Docs |
FAQs
Unknown package
The npm package @triplit/client receives a total of 17,996 weekly downloads. As such, @triplit/client popularity was classified as popular.
We found that @triplit/client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
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.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.