We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f768dd2 commit d201d0cCopy full SHA for d201d0c
README.md
@@ -25,7 +25,7 @@ Then, in your JavaScript code:
25
// Unpacking needed functions from the global object
26
const { base64ToArrayBuffer } = base64u8ArrayBuffer
27
28
-const u8 = base64ToUint8Array('base64 string here')
+const buffer = base64ToArrayBuffer('base64 string here')
29
```
30
31
### Local
@@ -40,7 +40,7 @@ And then, you can import the library as ES Module:
40
```js
41
import { base64ToArrayBuffer } from 'base64-u8array-arraybuffer'
42
43
44
45
You can also use commonJS syntax with `require()`
46
0 commit comments