Last change
on this file since b738035 was e29cc2e, checked in by Ema <ema_spirova@…>, 3 years ago |
primeNG components
|
-
Property mode
set to
100644
|
File size:
831 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | # base64-arraybuffer
|
---|
| 2 |
|
---|
[e29cc2e] | 3 | ![CI](https://github.com/niklasvh/base64-arraybuffer/workflows/CI/badge.svg?branch=master)
|
---|
[6a3a178] | 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 |
|
---|
[e29cc2e] | 9 | ### Installing
|
---|
| 10 | You can install the module via npm:
|
---|
[6a3a178] | 11 |
|
---|
[e29cc2e] | 12 | npm install base64-arraybuffer
|
---|
| 13 |
|
---|
[6a3a178] | 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 |
|
---|
[e29cc2e] | 20 | ### Testing
|
---|
| 21 | You can run the test suite with:
|
---|
| 22 |
|
---|
| 23 | npm test
|
---|
| 24 |
|
---|
[6a3a178] | 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.