![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | History.md | 2018-07-18 14:15 | 540 | |
![]() | README.md | 2018-07-11 05:15 | 341 | f12eb36 documentaiton updates [كارل مبارك] |
![]() | index.js | 2018-07-11 05:03 | 317 | |
![]() | package.json | 2023-06-09 12:49 | 1.8K | 7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك] |
## 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'); ```