ubdate
This commit is contained in:
12
node_modules/is-gif/index.js
generated
vendored
Normal file
12
node_modules/is-gif/index.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
const fileType = require('file-type');
|
||||
|
||||
module.exports = input => {
|
||||
const match = fileType(input);
|
||||
|
||||
if (!match) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return match.ext === 'gif';
|
||||
};
|
||||
Reference in New Issue
Block a user