{"_id":"@anymux/dropbox","name":"@anymux/dropbox","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@anymux/dropbox","version":"0.1.0","type":"module","license":"MIT","description":"Dropbox file system adapter for AnyMux","keywords":["anymux","filesystem","dropbox","cloud-storage"],"repository":{"type":"git","url":"git+https://github.com/AnyMux/AnyMuxMonorepo.git","directory":"packages/dropbox"},"homepage":"https://github.com/AnyMux/AnyMuxMonorepo/tree/main/packages/dropbox#readme","engines":{"node":">=20"},"main":"./src/index.ts","types":"./src/index.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"dependencies":{"dropbox":"^10.34.0","zod":"^3.24.1","@anymux/file-system":"0.1.0"},"devDependencies":{"@types/node":"^22.10.2","publint":"^0.3.8","tsdown":"^0.10.2","typescript":"^5.7.3","vitest":"^3.0.0","@anymux/typescript-config":"0.0.0"},"scripts":{"build":"tsdown","check":"tsc -p tsconfig.json --noEmit","test":"vitest run"},"_id":"@anymux/dropbox@0.1.0","bugs":{"url":"https://github.com/AnyMux/AnyMuxMonorepo/issues"},"_integrity":"sha512-0BzeN06jVISNCbn8vmbU1KABDTPfDq6PmrZAD38SmQ6yaLiMjvGTgJ0kP+Du/8qJmRD0FBp5fVjFqni4EQ0Gsg==","_resolved":"/tmp/344c81959f2ab4d46dab9c539c101df4/anymux-dropbox-0.1.0.tgz","_from":"file:anymux-dropbox-0.1.0.tgz","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-0BzeN06jVISNCbn8vmbU1KABDTPfDq6PmrZAD38SmQ6yaLiMjvGTgJ0kP+Du/8qJmRD0FBp5fVjFqni4EQ0Gsg==","shasum":"df0395d245ddd470f36e8d1a327aeca1267136a3","tarball":"https://registry.npmjs.org/@anymux/dropbox/-/dropbox-0.1.0.tgz","fileCount":10,"unpackedSize":64673,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEZd0FLIOTHEma1cSh/8tIrXDQt2PgXr1w122bX6/fYNAiEAjP6zys+6OMtql0TsQ28LaZUNpycDY4n4P9vADO23now="}]},"_npmUser":{"name":"yatsyk","email":"yatsyk@gmail.com"},"directories":{},"maintainers":[{"name":"yatsyk","email":"yatsyk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dropbox_0.1.0_1774335440960_0.9207024818541998"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-24T06:57:20.902Z","0.1.0":"2026-03-24T06:57:21.104Z","modified":"2026-03-24T06:57:21.360Z"},"maintainers":[{"name":"yatsyk","email":"yatsyk@gmail.com"}],"description":"Dropbox file system adapter for AnyMux","homepage":"https://github.com/AnyMux/AnyMuxMonorepo/tree/main/packages/dropbox#readme","keywords":["anymux","filesystem","dropbox","cloud-storage"],"repository":{"type":"git","url":"git+https://github.com/AnyMux/AnyMuxMonorepo.git","directory":"packages/dropbox"},"bugs":{"url":"https://github.com/AnyMux/AnyMuxMonorepo/issues"},"license":"MIT","readme":"# @anymux/dropbox\n\nDropbox file system provider for AnyMux.\n\n## Installation\n\n```bash\npnpm add @anymux/dropbox\n```\n\n## Usage\n\n```typescript\nimport { DropboxProvider } from \"@anymux/dropbox\";\n\nconst provider = new DropboxProvider({\n  accessToken: \"...\",\n});\n\nawait provider.initialize();\n\nconst fs = provider.getCapability(\"file-system\");\n\nconst files = await fs.readdir(\"/\");\nconst content = await fs.readFile(\"/notes.txt\", \"utf-8\");\nawait fs.writeFile(\"/new-file.txt\", \"Hello from AnyMux!\");\n```\n\n## API Overview\n\n### DropboxProvider\n\nImplements `IProvider` with `file-system` capability, mapping `IFileSystem` operations to the Dropbox API v2.\n\n- Read, write, copy, move, and delete files\n- Create and list folders\n- File metadata via `stat()`\n- Large file upload support\n\n### Configuration\n\n- `accessToken` — OAuth 2.0 access token (use `@anymux/middleware` for the OAuth flow)\n- `rootPath` — Root path within Dropbox (default: `\"\"` for root)\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-2865d0bb78be703e088ff9a0600e8f7d"}