0.9.1 • Published 10 months ago

@filen/virtual-drive v0.9.1

Weekly downloads
-
License
AGPLv3
Repository
github
Last release
10 months ago

Contributors Forks Stargazers Issues License

Attention

The package is still a work in progress. DO NOT USE IT IN PRODUCTION YET. Class names, function names, types, definitions, constants etc. are subject to change until we release a fully tested and stable version.

Installation

  1. Install using NPM
npm install @filen/virtual-drive@latest
  1. Initialize the virtual drive
import FilenSDK from "@filen/sdk"
import VirtualDrive from "@filen/virtual-drive"
import path from "path"
import os from "os"

// Initialize a SDK instance (optional)
const filen = new FilenSDK({
	metadataCache: true,
	connectToSocket: true,
	tmpPath: path.join(os.tmpdir(), "filen-sdk")
})

await filen.login({
	email: "your@email.com",
	password: "supersecret123",
	twoFactorCode: "123456"
})

const virtualDrive = new VirtualDrive({
	sdk: filen,
	mountPoint: "X:" // or /path/to/mount on Linux/macOS
})

await virtualDrive.start()

console.log("Virtual drive started")

License

Distributed under the AGPL-3.0 License. See LICENSE for more information.

0.2.1

10 months ago

0.9.1

10 months ago

0.1.13

10 months ago

0.1.14

10 months ago

0.1.15

10 months ago

0.1.10

10 months ago

0.1.11

10 months ago

0.1.12

10 months ago

0.1.8

10 months ago

0.1.7

10 months ago

0.1.9

10 months ago

0.1.6

10 months ago

0.1.4

11 months ago

0.1.3

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.17

1 year ago

0.1.16

1 year ago