notcms
v0.1.0
Published
NotCMS makes it easy to build a CMS for your website.
Maintainers
Readme
NotCMS makes it easy to create a CMS, from Notion.
Getting Started
Install
npm install notcmsCLI Usage
Pull your schema from NotCMS:
# Initialize config
npx notcms init
# Pull schema from NotCMS
npx notcms pullMigration from notcms-kit: The CLI is now included in the
notcmspackage. Usenpx notcmsinstead ofnpx notcms-kit.
SDK Usage
import { Client } from "notcms";
const nc = Client({ schema });
const [pages] = await nc.query.blog.list();
const [page] = await nc.query.blog.get(pages[0].id);