Powered by H5Web
This is the source code of the Dataverse HDF5 file previewer that has been adopted from the H5Web demo and adjusted towards the needs of Dataverse's requirements for external tools. The following adjustments have been done:
- Reduction to the H5Wasm example (others were not applicable)
- Query parsing for
siteUrl
,fileid
andkey
parameters - GET request to fetch files from a Dataverse installation
- Build options to result into a non-index HTML file for previewer hosting
- Some styling here and there ๐
โค๏ธ Kudos to H5Web for supplying their awesome npm package and examples!