Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Aug 11, 2022
1 parent da12d52 commit 88b4706
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -141,8 +141,8 @@ The library encodes and decodes base64/base64url to and from ArrayBuffers
- __fromArrayBuffer(buffer, urlMode)__ - Encodes `ArrayBuffer` into base64 or base64url if urlMode (optional) is true
- __toArrayBuffer(str, urlMode)__ - Decodes base64url string (or base64url string if urlMode is true) to `ArrayBuffer`

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

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

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@hexagon/base64",
"version": "1.1.22",
"version": "1.1.23",
"description": "Base64 and base64url to string or arraybuffer, and back. Node, Deno or browser.",
"author": "Hexagon <github.com/hexagon>",
"contributors": [{
Expand Down

0 comments on commit 88b4706

Please sign in to comment.