denolcr
Deno web interface to Rclone, using WebAssembly build.
Usage
import { Rclone } from "https://raw.githubusercontent.com/sntran/denolcr/main/rclone.ts";
const rclone = new Rclone();
rclone.rc("core/version");
By default, the provided rclone.wasm
[rclone.wasm] module is used. This can be
changed by providing another compiled module in the constructor. For example:
import { Rclone } from "https://raw.githubusercontent.com/sntran/denolcr/main/rclone.ts";
const module = await WebAssembly.compileStreaming(fetch("https://sntran.github.io/denolcr/rclone.wasm"));
const rclone = new Rclone(module);
rclone.rc("core/version");