feat: better code and diff perf
This commit is contained in:
parent
3325823f23
commit
9363c15b4a
19 changed files with 111 additions and 90 deletions
|
|
@ -1,7 +0,0 @@
|
|||
export function base64Encode(value: string) {
|
||||
return btoa(value).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "")
|
||||
}
|
||||
|
||||
export function base64Decode(value: string) {
|
||||
return atob(value.replace(/-/g, "+").replace(/_/g, "/"))
|
||||
}
|
||||
|
|
@ -1,2 +1 @@
|
|||
export * from "./dom"
|
||||
export * from "./encode"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue