A lightweight JavaScript library for parsing DICOM P10 byte streams. This project is based on the dicomParser library.
dicom-parser 2.0.0 does not bring any new features, but the code is now written in
ECMAScript 6 modules. Temporary build (ECMAScript 5) files are placed under
build/umd/
(for running tests during development).
If you want to use a particular revision of the code, make sure to run
grunt transpile update-index
, so dicom-parser.js
are synced
with src/*
. We might place that in a commit hook in the future.
All objects thrown now comply to the standard Error object interface. This impacts the following APIs:
- parseDA
We're looking for co-maintainers! If you want to become a master of time please write to chafey.
dicom-parser.js is freely distributable under the terms of the MIT license.
- Get Code coverage to 100%
- Figure out how to run coveralls locally
- Add automated tests for the different modularization strategies/consuming environments (e.g. meteor, Angular 1, Angular 2, ES6, etc)
- Add automated tests for various browsers. There is some config in there for saucelabs but I didn't try to get it working
- Get nuget working. There is some config in there for this but I didn't try to get it working
- Figure out why source comments are not being removed form the minified file.
Setting preserveComments to false instead of 'some' fixes this bug removes the version header.
Note that I get the same weird results when building moment.js so it may be a bug in uglify? - Figure out strategy for live examples. rawgithib is not 100% reliable so it would be nice to figure out another solution
- Figure out strategy for documentation. Just use markdown or go HTML documentation like moment.js does?