node-browser-compat.js/btoa/bin/btoa.js

11 lines
254 B
JavaScript
Raw Normal View History

2012-06-26 19:28:01 +00:00
#!/usr/bin/env node
/*jshint strict:true node:true es5:true onevar:true laxcomma:true laxbreak:true eqeqeq:true immed:true latedef:true*/
(function () {
"use strict";
var btoa = require('../index')
;
console.log(btoa(process.argv[2]));
}());