Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

lib/base64: more natural exports

  • Loading branch information...
commit 7dda12aff8016fd9a51c9e5e41b3b3e26f2c9909 1 parent d3981f8
@jeromeetienne authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/base64.js
View
6 lib/base64.js
@@ -165,4 +165,10 @@ var base64 = {
}
// exports public functions
+exports.encode = base64.encode;
+exports.decode = base64.decode;
+exports.encode_safe = base64.encode_safe;
+exports.decode_safe = base64.decode_safe;
+
+// obsolete API - backward compatiblity
exports.base64 = base64;
Please sign in to comment.
Something went wrong with that request. Please try again.