Skip to content

Commit 88b4706

Browse files
authored
Update docs
1 parent da12d52 commit 88b4706

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ The library encodes and decodes base64/base64url to and from ArrayBuffers
141141
- __fromArrayBuffer(buffer, urlMode)__ - Encodes `ArrayBuffer` into base64 or base64url if urlMode (optional) is true
142142
- __toArrayBuffer(str, urlMode)__ - Decodes base64url string (or base64url string if urlMode is true) to `ArrayBuffer`
143143

144-
- __fromString(str)__ - Encodes `String` into base64 string
145-
- __toString(str)__ - Decodes base64 string to `String`
144+
- __fromString(str, urlMode)__ - Encodes `String` into base64 string (or base64url string if urlMode is true)
145+
- __toString(str, urlMode)__ - Decodes base64 or base64url string to `String`
146146

147147
- __validate(str, urlMode)__ - Returns true if `String` str is valid base64/base64 dependending on urlMode
148148

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hexagon/base64",
3-
"version": "1.1.22",
3+
"version": "1.1.23",
44
"description": "Base64 and base64url to string or arraybuffer, and back. Node, Deno or browser.",
55
"author": "Hexagon <github.com/hexagon>",
66
"contributors": [{

0 commit comments

Comments
 (0)