Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d201d0c

Browse files
Update README.md
1 parent f768dd2 commit d201d0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Then, in your JavaScript code:
2525
// Unpacking needed functions from the global object
2626
const { base64ToArrayBuffer } = base64u8ArrayBuffer
2727

28-
const u8 = base64ToUint8Array('base64 string here')
28+
const buffer = base64ToArrayBuffer('base64 string here')
2929
```
3030

3131
### Local
@@ -40,7 +40,7 @@ And then, you can import the library as ES Module:
4040
```js
4141
import { base64ToArrayBuffer } from 'base64-u8array-arraybuffer'
4242

43-
const u8 = base64ToUint8Array('base64 string here')
43+
const buffer = base64ToArrayBuffer('base64 string here')
4444
```
4545
You can also use commonJS syntax with `require()`
4646

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /