@bryntum/scheduler-node-enterprise
v8.0.2
Published
Bryntum Scheduler Node.js bundles, Enterprise tier
Readme
Bryntum Scheduler for Node.js
The Bryntum Scheduler Node.js bundles, Enterprise tier.
Bryntum components work in a browser. The data level classes do not need a browser, so you can use them in Node.js.
These classes are the ProjectModel class, its models and stores, the scheduling engine and the helpers they need.
The package is available only for the Enterprise tier and is valid only with an Enterprise license.
Use this package on a server. A browser application uses @bryntum/scheduler-enterprise.
Contents
| File | Contains |
|---|---|
| scheduler.node.mjs | Node.js bundle, ES modules format |
| scheduler.node.cjs | Node.js bundle, CommonJS format |
| scheduler.node.d.ts | TypeScript typings |
| scheduler.node.d.mts | TypeScript typings for ES modules |
| *.map | Source maps |
Install
npm install @bryntum/scheduler-node-enterpriseThe bundles hold every class they need. The package has no Bryntum dependencies.
Import
The package selects the bundle that agrees with your module format.
ES modules:
import { ProjectModel } from '@bryntum/scheduler-node-enterprise';
const project = new ProjectModel({
// ProjectModel config
});CommonJS:
const { ProjectModel } = require('@bryntum/scheduler-node-enterprise');
const project = new ProjectModel({
// ProjectModel config
});To select a bundle yourself, import its file:
import { ProjectModel } from '@bryntum/scheduler-node-enterprise/scheduler.node.mjs';
const { ProjectModel } = require('@bryntum/scheduler-node-enterprise/scheduler.node.cjs');Use cases
- Use the Bryntum Scheduler data model types in a TypeScript server.
- Send live updates to the clients through a WebSocket server.
- Do the scheduling calculations and find the conflicts on the server.
Data model types
The typings hold the config types of the models. This Express.js endpoint saves a new event to a database:
import { EventModelConfig } from '@bryntum/scheduler-node-enterprise';
app.post('/api/event/create', async(req, res) => {
const data : EventModelConfig = req.body;
const newEvent = await Event.create(data);
res.status(200).json({ success : true, data : newEvent });
});Scheduling on the server
The ProjectModel holds the scheduling engine. The engine calculates the dates and durations, keeps the references
between the models and finds the scheduling conflicts. Wait for the calculations before you read the data:
const result = await project.commitAsync();
if (result.rejectedWith) {
// The change causes a scheduling conflict
}Links
Copyright (c) 2026 Bryntum. All rights reserved.
