# RootJS: Node.js Bindings for ROOT 6

**Authors:** Theo Beffart, Maximilian Fr\"uh, Christoph Haas, Sachin Rajgopal,, Jonas Schwabe, Christoph Wolff, Marek Szuba

arXiv: 1704.07887 · 2017-12-06

## TL;DR

RootJS enables seamless integration of ROOT 6 with Node.js, allowing high-performance, platform-independent web applications to access ROOT features asynchronously, facilitating data analysis and visualization in web environments.

## Contribution

This paper introduces rootJS, a novel Node.js binding for ROOT 6 that supports asynchronous calls and platform independence, enhancing web-based data analysis capabilities.

## Key findings

- Supports asynchronous ROOT feature calls from Node.js
- Enables platform-independent web applications with ROOT integration
- Facilitates high-performance web data visualization and analysis

## Abstract

We present rootJS, an interface making it possible to seamlessly integrate ROOT 6 into applications written for Node.js, the JavaScript runtime platform increasingly commonly used to create high-performance Web applications. ROOT features can be called both directly from Node.js code and by JIT-compiling C++ macros. All rootJS methods are invoked asynchronously and support callback functions, allowing non-blocking operation of Node.js applications using them. Last but not least, our bindings have been designed to platform-independent and should therefore work on all systems supporting both ROOT 6 and Node.js.   Thanks to rootJS it is now possible to create ROOT-aware Web applications taking full advantage of the high performance and extensive capabilities of Node.js. Examples include platforms for the quality assurance of acquired, reconstructed or simulated data, book-keeping and e-log systems, and even Web browser-based data visualisation and analysis.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1704.07887/full.md

## Figures

1 figure with captions in the complete paper: https://tomesphere.com/paper/1704.07887/full.md

## References

14 references — full list in the complete paper: https://tomesphere.com/paper/1704.07887/full.md

---
Source: https://tomesphere.com/paper/1704.07887