@notty/core
v1.0.2
Published
Notty Core - Modern Headless CMS engine
Readme
@notty/core
Core library for Notty CMS - create and configure Notty instances.
Installation
npm install @notty/coreUsage
import { createNotty } from '@notty/core';
const notty = createNotty({
database: {
client: 'sqlite',
connection: {
filename: './data/notty.db'
}
}
});
await notty.start();API
createNotty(config)
Creates a new Notty instance with the given configuration.
NottyInstance
start()- Start the serverstop()- Stop the servergetUrl()- Get server URLuse(plugin)- Register a pluginapplyEnv()- Apply environment variables
License
MIT
Part of Notty CMS
