0.9.23 • Published 11 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
11 months ago
0.9.22
11 months ago
0.9.21
12 months ago
0.9.20
12 months ago
0.9.18
12 months ago
0.9.19
12 months ago
0.9.12
1 year ago
0.9.13
1 year ago
0.9.14
1 year ago
0.9.15
1 year ago
0.9.16
1 year ago
0.9.17
1 year ago
0.9.10
1 year ago
0.9.11
1 year ago
0.9.9
1 year ago
0.9.8
1 year ago
0.9.7
1 year ago
0.9.4
1 year ago
0.9.6
1 year ago
0.9.5
1 year ago
0.9.3
1 year ago
0.9.2
1 year ago