Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 200 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 200 Bytes

Hex to binary

npm install hex-to-binary -S

Usage

var hexToBinary = require('hex-to-binary');
var hexString = 'AF30B';

// 10101111001100001011
console.log(hexToBinary(hexString));