Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

is-archive

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-archive

Check if a filepath is an archive file

Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

is-archive Build Status

Check if a filepath is an archive file

Install

$ npm install --save is-archive

Usage

var isArchive = require('is-archive');

isArchive('src/unicorn.zip');
//=> true

isArchive('src/unicorn.txt');
//=> false
  • archive-extensions - List of archive file extensions

License

MIT © Sindre Sorhus

Keywords

ext

FAQs

Package last updated on 17 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts