JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 11
  • Score
    100M100P100Q37825F
  • License GPL-3.0

Simple medical viewer using DWV (DICOM Web Viewer).

Package Exports

  • dwv-simplistic
  • dwv-simplistic/dist/dwvsimplistic.min.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dwv-simplistic) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

dwv-simplistic

Simple medical viewer using DWV (DICOM Web Viewer). Provides the <dwv-simple> web component and related app code.

Simple usage: in an HTML document, import the library and add <dwv-simple urls="..."></dwv-simple> to its body. This will display the image and a toolbar with basic tools (scroll, zoom, window level...). See it live in the demo page.

All coding/implementation contributions and comments are welcome. Releases should be ready for deployment.

dwv-simplistic is not certified for diagnostic use. Released under GNU GPL-3.0 license (see license.txt).

Node.js CI

Available Scripts

  • install: install dependencies
  • start: serve at localhost:8080 with live reload
  • lint: lint js code

Steps to run the viewer from scratch

# get the code
git clone https://github.com/ivmartel/dwv-simplistic.git

# move to its folder
cd dwv-simplistic

# install dependencies
yarn install

# call the start script to launch the viewer on a local server
yarn run start

You can now open a browser at http://localhost:8080 and enjoy!

DWVs' Web workers

Web workers used in dwv need to be available in the ./assets/workers folder (relative to calling html). Scripts of this project copy them automatically and clients of dwv-simplistic must do it to.