Install only what you need.
SethuCMS is published as small packages on npm, a free library of JavaScript code. Pick the ones for your job and install them with one command. You can browse all of them on the SethuCMS npm page.
Use SethuCMS in your app
Read and write content from your website or app.
@sethucms/sdk
The TypeScript client for the SethuCMS API. Works in Node 20 or newer, browsers and edge runtimes.
npm install @sethucms/sdkConnect a database
Install the one that matches the database you already run.
@sethucms/adapter-sqlite
SQLite, using the SQLite built into Node.js.
npm install @sethucms/adapter-sqliteBuild your own
For people who write adapters or tools on top of SethuCMS.
@sethucms/core
Shared types: content model, query language, permissions and errors.
npm install @sethucms/core@sethucms/adapter-sdk
The adapter contract, a safety layer, and a test suite to check a new adapter.
npm install @sethucms/adapter-sdk@sethucms/adapter-memory
An in-memory adapter for tests, demos and as a starting template.
npm install @sethucms/adapter-memory@sethucms/adapter-sql-kit
Shared building blocks for the PostgreSQL, MySQL and SQLite adapters.
npm install @sethucms/adapter-sql-kit