Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
History.md | 2018-07-18 14:15 | 540 | ||
README.md | 2018-07-11 05:15 | 341 | d7c1522 post receive test [كارل مبارك] | |
index.js | 2018-07-11 05:03 | 317 | ||
package.json | 2023-06-15 18:21 | 1.9K |
## 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'); ```