Skip to content

usewren/client-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WREN TypeScript Client

Official TypeScript/JavaScript client for the WREN API.

npm install @wren/client
import { WrenClient } from "@wren/client";

const wren = new WrenClient({ baseUrl: "https://wren.aemwip.com", apiKey: "wren_..." });
const doc = await wren.documents.create("articles", { title: "Hello" });
await wren.labels.set("articles", doc.id, "published");
await wren.trees.set("site", "/blog/hello", doc.id);
  • Node >= 18, Bun, Browser
  • Zero runtime dependencies
  • Full TypeScript types
  • Resources: documents, versions, labels, diff, collections, trees, keys, members, invites, permissions

Links

License

Apache-2.0

About

TypeScript/JavaScript client library — Node, Bun, Browser

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors