Sha256: deb5b27c271cb6c353032a5876c8875bc8f2adf3c8a6d5bba8f431b76ab9b4db
Contents?: true
Size: 461 Bytes
Versions: 26
Compression:
Stored size: 461 Bytes
Contents
"use strict"; exports.stripLeadingAndTrailingASCIIWhitespace = string => { return string.replace(/^[ \t\n\f\r]+/u, "").replace(/[ \t\n\f\r]+$/u, ""); }; exports.isomorphicDecode = input => { return Array.from(input, byte => String.fromCodePoint(byte)).join(""); }; exports.forgivingBase64Decode = data => { let asString; try { asString = atob(data); } catch { return null; } return Uint8Array.from(asString, c => c.codePointAt(0)); };
Version data entries
26 entries across 26 versions & 1 rubygems