| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The same as mime-types's contentType method, but with result cached.
npm i cache-content-typeimport { getType } from 'cache-content-type';
const contentType = getType('html');
assert.equal(contentType, 'text/html; charset=utf-8');Made with contributors-img.
| Back | FazBrowse Home | New Git URL |