🚀 TurboMap

Turbocharged Mapping Tool - High-performance, type-safe Map implementation supporting complex nested objects as keys

✅ Test Coverage: 62.29% ✅ Code Quality: A+ ✅ CI/CD Ready

Core Features

🚀 Turbo Performance

3-5x performance boost with LRU cache, fast hash paths, and object pool optimization

🔐 Complete Type Safety

TypeScript-first with smart type inference and compile-time checking

🔄 Deep Object Comparison

Support arbitrary nesting levels with circular reference handling

🎯 ES Map Compatible

Fully compatible with native ES Map API including Symbol.iterator

🔌 Plugin Architecture

Extensible hook system with custom behavior and plugin management

🚀 Advanced Features

Async operations, error recovery, diagnostics, and tiered caching

Quick Start

npm install turbo-map

import { createTurboMap } from 'turbo-map';

const userMap = createTurboMap<{ id: number; name: string }, string>();

userMap.set({ id: 1, name: "Alice" }, "User 1 details");
console.log(userMap.get({ id: 1, name: "Alice" })); // "User 1 details"

// Fully compatible with ES Map API
for (const [key, value] of userMap) {
  console.log(`${key.name}: ${value}`);
}
View on GitHub View on npm