base64-js icon indicating copy to clipboard operation
base64-js copied to clipboard

Base64 encoding/decoding in pure JS

Results 19 base64-js issues
Sort by recently updated
recently updated
newest added

Hi, I had added ppc64le(Linux on Power) architecture support on travis-ci in the PR and looks like its been successfully added. I believe it is ready for the final review...

There are a bunch of modules on npm that do this already, but it seems like most of them depend on another module (sometimes buffer itself) and then add regex...

Performance improvements: - Pre-allocating arrays in `encodeChunk()` and `fromByteArray()` - Removing unnecessary operations, e.g. increments of a variable that is never used again - Using bitwise operators (e.g. `& 3`...

A valid base64 input length including characters not in the base64 alphabet lead to wrong outputs instead of an exception. E.g. ``` $ node > var base64js = require('base64-js') >...

Considering this package has essentially had no activity for over 3 years, I am willing to take over maintainership/ownership of it. We are using this library in the Keycloak project,...

### Description Code ``` const base64String = 'ewogICJhIiA6ICIxIgp9'; var base64js = require('base64-js'); const arrayBuffer = base64js.toByteArray(base64String).buffer; console.log('=============='); console.log(arrayBuffer); console.log('=============='); ``` **In React-native** Print: ``` ============== [] ============== ``` package.json: ```...

my error ![Screenshot from 2023-03-10 12-08-28](https://user-images.githubusercontent.com/78076796/224229013-442f3535-6607-416c-854b-bc1f9f3d360f.png) my code: line 42 ![Screenshot from 2023-03-10 12-10-43](https://user-images.githubusercontent.com/78076796/224229088-c1cfa814-e802-4598-8212-95ebaf9591f6.png)

After 4 days fiddleing wit build in base 64 and thinkig about a psyhologist it helps me really out :) I was ajax fetching images as binary and want to...