UNPKG
btoa
Version:
latest (1.2.1)
1.2.1
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
btoa for Node.JS (it's a one-liner)
git.coolaj86.com/coolaj86/btoa.js.git
btoa
/
bin
/
btoa.js
9 lines
(6 loc)
•
131 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
#!/usr/bin/env node
(
function
(
) {
"use strict"
;
var
btoa =
require
(
'../index'
);
console
.
log
(
btoa
(process.
argv
[
2
])); }());