0.9.23 • Published 9 months ago
@filen/network-drive v0.9.23
Installation
- Install using NPM
npm install @filen/network-drive@latest
- Initialize the network drive
import FilenSDK from "@filen/sdk"
import NetworkDrive from "@filen/network-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 networkDrive = new NetworkDrive({
sdk: filen,
mountPoint: "X:" // or /path/to/mount on Linux/macOS
})
await networkDrive.start()
console.log("Network drive started")
License
Distributed under the AGPL-3.0 License. See LICENSE for more information.
0.9.23
9 months ago
0.9.22
9 months ago
0.9.21
9 months ago
0.9.20
9 months ago
0.9.18
10 months ago
0.9.19
10 months ago
0.9.12
10 months ago
0.9.13
10 months ago
0.9.14
10 months ago
0.9.15
10 months ago
0.9.16
10 months ago
0.9.17
10 months ago
0.9.10
10 months ago
0.9.11
10 months ago
0.9.9
10 months ago
0.9.8
10 months ago
0.9.7
10 months ago
0.9.4
10 months ago
0.9.6
10 months ago
0.9.5
10 months ago
0.9.3
10 months ago
0.9.2
10 months ago