Sha256: afac5b9e0f7ba381af21a403254299e075a714948d144c6f6b8dccee9c9188c0

Contents?: true

Size: 239 Bytes

Versions: 48

Compression:

Stored size: 239 Bytes

Contents

'use strict';
const path = require('path');
const binaryExtensions = require('binary-extensions');

const extensions = new Set(binaryExtensions);

module.exports = filePath => extensions.has(path.extname(filePath).slice(1).toLowerCase());

Version data entries

48 entries across 39 versions & 8 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/watchpack/node_modules/is-binary-path/index.js
optimacms-0.1.61 spec/dummy/node_modules/sass/node_modules/is-binary-path/index.js
decidim-0.26.8 packages/eslint-config/node_modules/is-binary-path/index.js
epuber-stylus-source-0.56.0 vendor/node_modules/is-binary-path/index.js
appmap-0.72.2 ./node_modules/is-binary-path/index.js
appmap-0.72.1 ./node_modules/is-binary-path/index.js
appmap-0.72.0 ./node_modules/is-binary-path/index.js
appmap-0.71.0 ./node_modules/is-binary-path/index.js
disco_app-0.16.1 test/dummy/node_modules/watchpack/node_modules/is-binary-path/index.js
disco_app-0.16.1 test/dummy/node_modules/sass/node_modules/is-binary-path/index.js
appmap-0.70.2 ./node_modules/is-binary-path/index.js
appmap-0.70.1 ./node_modules/is-binary-path/index.js
appmap-0.70.0 ./node_modules/is-binary-path/index.js
appmap-0.69.0 ./node_modules/is-binary-path/index.js
appmap-0.68.2 ./node_modules/is-binary-path/index.js
appmap-0.68.1 ./node_modules/is-binary-path/index.js
disco_app-0.15.2 test/dummy/node_modules/watchpack/node_modules/is-binary-path/index.js
disco_app-0.15.2 test/dummy/node_modules/sass/node_modules/is-binary-path/index.js
appmap-0.68.0 ./node_modules/is-binary-path/index.js
appmap-0.67.1 ./node_modules/is-binary-path/index.js