Support for our reactive computational engine

Post by rahulranjan »

How can we implement chronograph in Nodejs Context with basic set up ?

Post by nickolay »


Chronograph is written "isomorphically" - using only Ecma modules "imports". It will work the same way both in browsers and Node. In Node, if version is < 14 you'll need to use "esm" module:

node -r esm your_code.js

If version is > 14, then you can name your file with *.mjs extension or set the "type : 'module'" property in the package.json. See here for more details:

Post Reply