Decode Tiff Image Array Buffer to pixel data

I want to decode a 16 bit Tiff Image Array Buffer shown below and extract the data in 16 bits, which is pixel intensities in Java script

Any library or decoder that can extract 16 bit tiff image to 16 bit data, i know there is UTIF but it convert a 16 bit image to 8 bit and in this process losses some valuable contrast.