@synanetics/panel-library-core
v1.0.3
Published
Synanetics panel library package. Enable panel library functionality on your server.
Downloads
193
Maintainers
Keywords
Readme
What is a library?
Libraries serve panels to the user interface. A library is what contains the JavaScript/TypeScript code for a panel, it bundles it and then makes it available via certain endpoints. These endpoints are used by a registry (see registry-core) to lookup available panels and make them available to a canvas.
A library is a key part of the canvas-panel architecture.
Getting Started
To get started with creating a library, install the library-core in your project.
npm install @synanetics/library-core
At the moment, we only support Express.JS.
Usage
import { libraryRouter } from "@synanetics/library-core/express"
const app = express()
app.use("/", libraryRouter())
Contact
Email: [email protected]