See client documentation
You can clone the repository or use NPM package centrifuge-ts
.
It is convenient to make changes to the centrifuge-ts
code by running the command
npm run watch
.
If you want to contribute, install dependencies and run npm run build
command from
the root repo folder - this results in creating unminified (centrifuge.js
) and
minified (centrifuge.min.js
) bundles in dist
directory.
import {
Centrifuge,
Subscription,
} from 'centrifuge-ts';
const centrifuge = new Centrifuge({
// centrifuge options
});