131 / ubase64

Minimal footprint for base64 (nothing fancy here)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Base64 encoder/decoder for nodejs or the browser, with minimal footprint

Api

var b64 = require('ubase64');
var encode = b64.encode;
var decode = b64.decode;

console.log(decode(encode("this is bar")) == "this is bar");

//minimal module export usage
var encode = require('ubase64/encode');
var decode = require('ubase64/decode');

Notes

  • full code coverage
  • minimal footprint for rollup/browserify
  • sane API

Build Status Coverage Status

About

Minimal footprint for base64 (nothing fancy here)


Languages

Language:JavaScript 100.0%