https://github.com/131/ubase64
Minimal footprint for base64 (nothing fancy here)
https://github.com/131/ubase64
Last synced: 10 months ago
JSON representation
Minimal footprint for base64 (nothing fancy here)
- Host: GitHub
- URL: https://github.com/131/ubase64
- Owner: 131
- Created: 2015-07-05T19:42:05.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-10-07T20:14:24.000Z (over 9 years ago)
- Last Synced: 2025-02-17T09:16:43.754Z (over 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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**
[](https://travis-ci.org/131/ubase64)
[](https://coveralls.io/github/131/ubase64?branch=master)