brand logo

ax Essien

Back to Projects
Snapshot

Offline Cloudinary

A Node.js package that emulates Cloudinary's file upload and management functionality locally, eliminating the need for internet access or a Cloudinary account during development and testing. Perfect for developers who need to test file upload functionality without incurring API costs or requiring external dependencies.

Technical Overview

  • • HTTP Server Emulator via startEmulator()
  • • Programmatic API through offlineCloudinary instance
  • • In-memory cache with dirty flag tracking
  • • Periodic sync to disk every 500ms

Key Features

  • •Local file uploads and deletions with HTTP server emulator
  • •Cloudinary-style API responses for seamless integration
  • •Built-in Express server to serve uploaded files via HTTP
  • •In-memory caching system for dramatically faster operations

Tech Stack

Node.js
Express
TypeScript