Please note that from version 9 the JavaScript API has been deprecated.
The JavaScript / TypeScript library currently supports core, inference & statistics libraries.
npm install --save bayes-server
Typings are automatically included in the npm package. There is no separate typings package.