You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
404 B

namespace Fable.Etebase
open Fable.Core
open Fable.Core.JS
open Fable.Core.JsInterop
module Utilities =
let toBase64 (data: obj) : string = import "toBase64" "etebase"
let fromBase64 (encoded: string) : byte array = import "fromBase64" "etebase"
let randomBytes (length: int) : byte array = import "randomBytes" "etebase"
let ready: Promise<unit> =
import "ready" "etebase"