1.0.2-r • Published 6 years ago

probase64 v1.0.2-r

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

ProBase UTF-16

Install

There are a few ways you can get the probase64 library.

Node

probase64 is on npm. Simply run:

npm install proBase64

Or add it to your package.json dependencies.

You can use it as follows:

var ProBaseDec = require('ProBaseDec').ProBaseDec;
var ProBaseEnc = require('ProBaseEnc').ProBaseEnc;

HTML Page Usage

  <!-- Required for non-UTF encodings -->
  <script src="proBase64.js"></script>

And in your scripts:

var ProBaseDec = window.ProBaseDec;
var ProBaseEnc = window.ProBaseEnc;

API Overview

Basic Usage

  var uint16array = new ProBaseEnc('utf-16').encode(string);
  var string = new ProBaseDec('utf-16').decode(uint16array);
1.0.2-r

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago