{"library":"pretty-cache-header","type":"library","category":null,"description":"pretty-cache-header is a JavaScript/TypeScript utility designed to simplify the creation of `Cache-Control` HTTP headers by parsing human-readable time strings into seconds. It aims to reduce errors by leveraging TypeScript's Template Literal Types to provide strong type-safety for time string formats, ensuring developers pass valid patterns like '1week' or '30days'. The package is currently at version 1.0.0, indicating its initial stable release. As a lightweight utility with a focused purpose, its release cadence is expected to be driven by bug fixes or minor enhancements rather than frequent major updates. Its key differentiator is the combination of human-readable time strings with robust type-checking, making it particularly useful in TypeScript-heavy projects where maintainability and type safety are priorities, especially when configuring server responses or CDN caching policies.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","typescript"],"install":[{"cmd":"npm install pretty-cache-header","imports":["import { cacheHeader } from 'pretty-cache-header';"]},{"cmd":"yarn add pretty-cache-header","imports":[]},{"cmd":"pnpm add pretty-cache-header","imports":[]}],"homepage":null,"github":"https://github.com/jjenzz/pretty-cache-header","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/pretty-cache-header","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/pretty-cache-header/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}