aboutsummaryrefslogtreecommitdiff
path: root/node_modules/atob/node-atob.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/atob/node-atob.js')
-rw-r--r--node_modules/atob/node-atob.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/node_modules/atob/node-atob.js b/node_modules/atob/node-atob.js
new file mode 100644
index 0000000..d7305a3
--- /dev/null
+++ b/node_modules/atob/node-atob.js
@@ -0,0 +1,7 @@
+"use strict";
+
+function atob(str) {
+ return Buffer.from(str, 'base64').toString('binary');
+}
+
+module.exports = atob.atob = atob;