Cornerstone is a set of JavaScript libraries that can be used to build web-based medical imaging applications. It provides a framework to build radiology applications such as the OHIF Viewer.
This library, @cornerstonejs/core, provides CPU and GPU-based rendering support, image/volume loading API, and caching utilities.
You can find the Cornerstone documentation on the website.