chensenlai 10988628a0 语音房项目初始化 | 5 år sedan | |
---|---|---|
.. | ||
HISTORY.md | 5 år sedan | |
LICENSE | 5 år sedan | |
README.md | 5 år sedan | |
index.js | 5 år sedan | |
package.json | 5 år sedan |
Compressible Content-Type
/ mime
checking.
$ npm install compressible
var compressible = require('compressible')
Checks if the given Content-Type
is compressible. The type
argument is expected
to be a value MIME type or Content-Type
string, though no validation is performed.
compressible('text/html') // => true
compressible('image/png') // => false