Socket
Book a DemoInstallSign in
Socket

@radicalimaging/static-cs-lite

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@radicalimaging/static-cs-lite

Cornerstone core lite version that runs on server side

latest
Source
npmnpm
Version
1.5.0
Version published
Weekly downloads
0
-100%
Maintainers
0
Weekly downloads
 
Created
Source

@radicalimaging/static-cs-lite

Lite and simplified version of cornerstone package which allows simulating server rendering. It uses JSDOM to support cornerstone to use server rendering approach. The sandbox configuration MUST be revisited for each new cornerstone integration.

Pre-requisites

View root pre-requisites section pre-requisites

Development

View root development section development

Usage

const staticCsLite = require('@radicalimaging/static-cs-lite');

...
const doneCallback = (imageBuffer) => {
  // write on disk imageBuffer (thumbnail)
}
// simulate image rendering on server side
staticCsLite.simulateRendering(transferSyntaxUid,
  decodedPixelData,
  rawDataset,
  doneCallback)

Keywords

Cornerstone server side

FAQs

Package last updated on 17 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts