TurboDepot is a general-purpose multi-storage library for Node.js (10.0.0) that integrates ORM, log management, user management, file operations, and caching into a single, centralized API. It is part of the TurboFramework ecosystem, designed to be cross-language (PHP, JS/TS, MySQL/MariaDB) with identical APIs across languages. Release cadence is irregular; major versions may introduce breaking changes. Key differentiators: single JSON configuration, automatic table/column creation, human-readable storage, and support for multiple isolated depot instances.
npm install turbodepot-nodeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating FilesManager, UsersManager, and OrmManager with ESM imports and TypeScript types.
Migrate from require() to import syntax. Use dynamic import() if needed.
Update imports to use named exports: import { ClassName } from 'turbodepot-node';Ensure the JSON file path is correct or omit it to use defaults.
Grant ALTER/CREATE permissions to the database user or configure a separate schema.
Use import { FilesManager } from 'turbodepot-node'; or add type: 'module' to package.json and use dynamic import.Run: npm install turbodepot-node@latest