source:
trip-planner-front/node_modules/is-binary-path/index.js@
6c1585f
Last change on this file since 6c1585f was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 239 bytes |
Line | |
---|---|
1 | 'use strict'; |
2 | const path = require('path'); |
3 | const binaryExtensions = require('binary-extensions'); |
4 | |
5 | const extensions = new Set(binaryExtensions); |
6 | |
7 | module.exports = filePath => extensions.has(path.extname(filePath).slice(1).toLowerCase()); |
Note:
See TracBrowser
for help on using the repository browser.