| Name | Last modified | Size | Description | |
|---|---|---|---|---|
| Parent Directory | - | |||
| History.md | 2025-10-29 15:57 | 540 | ||
| README.md | 2025-10-29 15:57 | 341 | 38d15e7 removed strapi.query from api controllers to repair migration on dev server? [كارل مبارك] | |
| index.js | 2025-10-29 15:57 | 317 | ||
| package.json | 2025-10-29 15:57 | 861 |
## cache-content-type
The same as [mime-types](https://github.com/jshttp/mime-types)'s contentType method, but with result cached.
### Install
```bash
npm i cache-content-type
```
### Usage
```js
const getType = require('cache-content-type');
const contentType = getType('html');
assert(contentType === 'text/html; charset=utf-8');
```