2.0.0 • Published 5 years ago

is-archive v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

is-archive Build Status

Check if a file path is an archive file

Install

$ npm install is-archive

Usage

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

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

isArchive('source/unicorn.txt');
//=> false

Related

License

MIT © Sindre Sorhus