Closed kmannislands closed 3 years ago
Yes, absolutely. A PR to be fix would be welcome.
@martinezmj Great, opened.
I would note that a more modern assertion library would be beneficial in your test suite. Noticed that test expectations are rather limited and I think more powerful assertions would help.
Also, unrelated, but would you be open to modernizing the syntax used here? Pains me to write var
in 2021 😄
We're installing nifti-reader-js via yarn modern where it's common to check in dependencies.
It has come to my attention that of our ~5k transitive dependencies, nifti reader js is the largest by a healthy margin.
Zipped, the library's source is still 24.2MB!
Poking around the repo, the cause is pretty clear:
The 5D nifti test dataset is massive for checked in content, weighing in at over 30 MB.
Would you be open to a PR replacing it with a smaller 5D nifti?