source: node_modules/is-binary-path/index.js@ 62b2964

finki-main main
Last change on this file since 62b2964 was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago

Initial commit

  • Property mode set to 100644
File size: 239 bytes
RevLine 
[81bc7da]1'use strict';
2const path = require('path');
3const binaryExtensions = require('binary-extensions');
4
5const extensions = new Set(binaryExtensions);
6
7module.exports = filePath => extensions.has(path.extname(filePath).slice(1).toLowerCase());
Note: See TracBrowser for help on using the repository browser.