Last change
on this file since bdd6491 was e29cc2e, checked in by Ema <ema_spirova@…>, 3 years ago |
primeNG components
|
-
Property mode
set to
100644
|
File size:
831 bytes
|
Line | |
---|
1 | # base64-arraybuffer
|
---|
2 |
|
---|
3 | ![CI](https://github.com/niklasvh/base64-arraybuffer/workflows/CI/badge.svg?branch=master)
|
---|
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 | ### Installing
|
---|
10 | You can install the module via npm:
|
---|
11 |
|
---|
12 | npm install base64-arraybuffer
|
---|
13 |
|
---|
14 | ## API
|
---|
15 | The library encodes and decodes base64 to and from ArrayBuffers
|
---|
16 |
|
---|
17 | - __encode(buffer)__ - Encodes `ArrayBuffer` into base64 string
|
---|
18 | - __decode(str)__ - Decodes base64 string to `ArrayBuffer`
|
---|
19 |
|
---|
20 | ### Testing
|
---|
21 | You can run the test suite with:
|
---|
22 |
|
---|
23 | npm test
|
---|
24 |
|
---|
25 | ## License
|
---|
26 | Copyright (c) 2012 Niklas von Hertzen
|
---|
27 | Licensed under the MIT license.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.