0.0.2 • Published 10 months ago

astracms v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Official astracms API Client

This is the official typescript client for astracms.

Link to docs: https://astracms.com/docs Link to the official website: https://astracms.com

Install

    npm install astracms

Usage example

import { createAstracmsClient } from "astracms";

const cms = createAstracmsClient({
  blogId: "MY_BLOG_ID", // Go to your blog settings to get your blog id
});

const posts = await cms.posts.list();
const post = await cms.posts.get({ slug: "post-slug" });
0.0.2

10 months ago

0.0.1

10 months ago