base64-map.js 221 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 var itoc = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; var ctoi = {}; for (var index = 0; index < 66; index++) ctoi[itoc.charAt(index)] = index; module.exports = { itoc: itoc, ctoi: ctoi };