Big news!Introducing Socket AI - ChatGPT-Powered Threat Analysis.Learn more
Socket
Socket

is-binary-path

Package Overview
Dependencies
1
Maintainers
3
Versions
5
Issues
File Explorer

Advanced tools

is-binary-path

Check if a file path is a binary file

    2.1.0latest
    GitHub
    npm

Version published
Maintainers
3
Weekly downloads
37,588,359
decreased by-5.32%

Weekly downloads

Readme

Source

is-binary-path Build Status

Check if a file path is a binary file

Install

$ npm install is-binary-path

Usage

const isBinaryPath = require('is-binary-path'); isBinaryPath('source/unicorn.png'); //=> true isBinaryPath('source/unicorn.txt'); //=> false

License

MIT © Sindre Sorhus, Paul Miller

Keywords

FAQs

Last updated on 19 Apr 2019

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
Socket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc