/ student-intifada / node_modules / base64-js /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSEa year ago1.1K 
[TXT]README.mda year ago1.1K595aea1 more query options + view options [كارل مبارك]
[   ]base64js.min.jsa year ago2.1K 
[TXT]index.d.tsa year ago161  
[   ]index.jsa year ago3.8K 
[   ]package.jsona year ago1.1Kafd0ccc remove unused [كارل مبارك]
README.md

base64-js

base64-js does basic base64 encoding/decoding in pure JS.

build status

Many browsers already have base64 encoding/decoding functionality, but it is for text data, not all-purpose binary data.

Sometimes encoding/decoding binary data in the browser is useful, and that is what this module does.

install

With npm do:

npm install base64-js and var base64js = require('base64-js')

For use in web browsers do:

<script src="base64js.min.js"></script>

Get supported base64-js with the Tidelift Subscription

methods

base64js has three exposed functions, byteLength, toByteArray and fromByteArray, which both take a single argument.

license

MIT

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80