to-binary
v0.0.1
Published
converts decimal to binary recursively
Downloads
9
Maintainers
Readme
#toBinary
converts decimal to binary recursively
##installation npm install to-binary
##usage
var toBinary = require('to-binary')
console.log(toBinary(98)) // => 01100010
var ch = 'k'
var ascii = ch.charCodeAt(0)
console.log(toBinary(ascii)) // => 01101011