is-rar

Check if a Buffer/Uint8Array is a RAR file

  • is-rar

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
is-rar
702.0.05 years ago9 years agoMinified + gzip package size for is-rar in KB

Readme

is-rar Build Status
Check if a Buffer/Uint8Array is a RAR file

Install

$ npm install is-rar

Usage

const fs = require('fs);
const isRar = require('is-rar');

isRar(fs.readFileSync('foo.rar'));
//=> true

License

MIT © Kevin Mårtensson