@ -7,7 +7,7 @@
"type": "git",
"url": "git://github.com/beatgammit/base64-js.git"
},
"main": "lib/b64.js",
"main": "index.js",
"scripts": {
"build": "browserify -s base64js -r ./ | uglifyjs -m > base64js.min.js",
"test": "standard && tape test/*.js"
@ -1,5 +1,5 @@
var test = require('tape')
var b64 = require('../lib/b64')
var b64 = require('../')
test('convert big data to base64', function (t) {
var b64str, arr, i, length
var checks = [
'a',
'aa',
test('decode url-safe style base64 strings', function (t) {
var expected = [0xff, 0xff, 0xbe, 0xff, 0xef, 0xbf, 0xfb, 0xef, 0xff]