cache-content-type
JSON →A Node.js library that creates a full Content-Type header string from a MIME type or file extension, with LRU caching of results. Version 1.0+ uses the same underlying database as mime-types but adds an in-memory cache (default cache size 100) to avoid repeated lookups. Release cadence is low, updated primarily for dependency bumps and Node.js version support. Differentiator: provides cached content-type lookups, improving performance when the same extensions are queried multiple times (e.g., in HTTP servers).
Traffic · last 30 days stale · no recent hits
total hits 9
actors 3 distinct systems
last hit 17d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇺🇦 Ukraine · TN · 🇨🇦 Canada
Resources
packagecache-content-type ↗
API endpoints
full doc /v1/registry/cache-content-type