base64-lex
Url-safe base64 encoding variant which preserves lexicographical ordering of underlying bytes.
var b64lex = // encode a buffer or typed arrayb64lex // 'sfrzwl-'b64lex // 'sfrzwl-' // strings encode in utf8, also preserving lex orderb64lex // 'Pbyk869XSW--' // decode returns a bufferb64lex // Buffer('foo bar', 'utf8') // decode only works with base64-lex-encoded stringsb64lex // throws