Этот коммит содержится в:
AJ ONeal 2012-06-26 13:28:01 -06:00
родитель 30c4163ba8
Коммит 48288ef240
2 изменённых файлов: 30 добавлений и 16 удалений

10
btoa/bin/btoa.js Обычный файл
Просмотреть файл

@ -0,0 +1,10 @@
#!/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]));
}());

Просмотреть файл

@ -6,13 +6,17 @@
"type": "git", "type": "git",
"url": "git://github.com/coolaj86/node-browser-compat.git" "url": "git://github.com/coolaj86/node-browser-compat.git"
}, },
"keywords" : ["btoa", "browser"], "keywords": [
"btoa",
"browser"
],
"author": "AJ ONeal <coolaj86@gmail.com> (http://coolaj86.info)", "author": "AJ ONeal <coolaj86@gmail.com> (http://coolaj86.info)",
"engines": { "engines": {
"node": ">= 0.4.0" "node": ">= 0.4.0"
}, },
"dependencies" : { "bin": {
"btoa": "bin/btoa.js"
}, },
"main": "index", "main": "index",
"version" : "1.0.0" "version": "1.0.1"
} }