@zendo/cms
v0.1.1
Published
The typescript client for zendoblog
Downloads
1
Readme
Official zendo.blog API Client
Install
npm install @zendo/client
Usage example
import { createClient } from "@zendo/client";
const cms = createClient({
blogId: "MY_BLOG_ID", // Go to your blog settings to get your blog id
});
const posts = await cms.posts.getAll();
const post = await cms.posts.getBySlug("post-slug");