is-tar
Check if a Buffer/Uint8Array is a TAR file
Last updated 12 years ago by kevva .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install is-tar 
SYNC missed versions from official npm registry.

is-tar Build Status

Check if a Buffer/Uint8Array is a TAR file

Install

$ npm install --save is-tar

Usage

var isTar = require('is-tar');
var read = require('fs').readFileSync;

isTar(read('file.tar'));
// => true

License

MIT © Kevin Mårtensson

Current Tags

  • 1.0.0                                ...           latest (12 years ago)

3 Versions

  • 1.0.0                                ...           12 years ago
  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (2)
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |