float16 Encode and decode float16 Installation $ npm install float16 API Documentation Example const { byteToFloat16, float16ToByte } = require('float16'); byteToFloat16(0x3c00)).toBe(1); byteToFloat16(1)).toBe(0x3c00); License MIT