Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
ecg-dicom-web-viewer
Advanced tools
Together with the cornerstone library, this project allows reading and drawing ECGs from a dcm in web version.
This library allows viewing an ECG file in DICOM format in web view.
This module is distributed via [npm][npm-url] which is bundled with [node][node] and
should be installed as one of your project's dependencies
:
// To install the newest version
npm install --save ecg-dicom-web-viewer
// Import
import {
ReadECG, //Optional.
Constants, //Optional.
DicomECGViewer, //Principal.
} from "ecg-dicom-web-viewer";
//Load view:
let viewer = new DicomECGViewer(
byteArray, //Data array ECG (XMLHttpRequest response array or...local open data)
divView, //Div where to draw the view
viewportIndex //View number, since you can have several views.
);
viewer.loadCanvas(); // Load canvas view.
Currently it works:
dataDICOMarrayBuffer DICOM DCM ECG Array Buffer.
idView Draw ID View. Recomended a div.
nameView Identifier of the view you want to put, in case you have several views, default 0.
Main method, draws the canvas and its entire view.
Receives a dataSet data structure and returns a readable array.
optsspeed: 25, amplitude: 10, applyLowPassFilter: true
Read the arraydicombuffer and return legible data.
Read the arraydicombuffer and return information data, example: BPM, Name, Duration ECG...
SOP UID of ECG types and graph measurements.
It is the generic class for the canvas, it contains the values of the number of views, canvas size, rows, columns, grid size...
This class renders the data, both the grid and the view, it also contains the button events.
2.0.9 (2024-11-19)
Note: Update packages and correct small error when analyzing millivolts.
FAQs
Together with the cornerstone library, this project allows reading and drawing ECGs from a dcm in web version.
The npm package ecg-dicom-web-viewer receives a total of 49 weekly downloads. As such, ecg-dicom-web-viewer popularity was classified as not popular.
We found that ecg-dicom-web-viewer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.