RESTful CRUD middleware for Dropbox file operations: get, create, update, delete files and directories via HTTP. Current stable version is 4.0.1, updated November 2024. Built on Node.js >=18, uses Express-like middleware pattern. Provides sorting, ordering, hashing, and unzip capabilities. Lightweight alternative to full Dropbox SDK wrappers, focused on file system semantics over HTTP.
npm install restboxNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes Restbox with a Dropbox token, mounts on /dropbox prefix, and serves static files. Run with Node >=18.
Upgrade Node to version 18 or later.
Use an OAuth 2.0 token with scopes for files.metadata.read/write.
Choose a unique prefix or mount in a sub-app to avoid conflicts.
Send valid JSON array: ["file1.txt", "file2.txt"] in request body.
Run 'npm install restbox' and ensure no typo in the package name.
Use const restbox = require('restbox') (CJS) or import restbox from 'restbox' (if ESM were supported, but not yet).Generate a new token from Dropbox App Console with correct scopes.