npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

is-xz

2.0.0 • Public • Published

is-xz Build Status

Check if a Buffer/Uint8Array is a XZ file

Install

$ npm install is-xz

Usage

const fs = require('fs');
const isXz = require('is-xz');
 
isXz(fs.readFileSync('foo.tar.xz'));
//=> true

License

MIT © Kevin Mårtensson

install

npm i is-xz

Downloadsweekly downloads

4

version

2.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability