README.md (792B)
1 # base64-arraybuffer 2 3 [![Build Status](https://travis-ci.org/niklasvh/base64-arraybuffer.png)](https://travis-ci.org/niklasvh/base64-arraybuffer) 4 [![NPM Downloads](https://img.shields.io/npm/dm/base64-arraybuffer.svg)](https://www.npmjs.org/package/base64-arraybuffer) 5 [![NPM Version](https://img.shields.io/npm/v/base64-arraybuffer.svg)](https://www.npmjs.org/package/base64-arraybuffer) 6 7 Encode/decode base64 data into ArrayBuffers 8 9 ## Getting Started 10 Install the module with: `npm install base64-arraybuffer` 11 12 ## API 13 The library encodes and decodes base64 to and from ArrayBuffers 14 15 - __encode(buffer)__ - Encodes `ArrayBuffer` into base64 string 16 - __decode(str)__ - Decodes base64 string to `ArrayBuffer` 17 18 ## License 19 Copyright (c) 2012 Niklas von Hertzen 20 Licensed under the MIT license.