0.0.1 • Published 4 years ago

is-geotiff v0.0.1

Weekly downloads
2
License
CC0-1.0
Repository
github
Last release
4 years ago

is-geotiff

Super Light and Fast Method for Checking if a TIFF is a GeoTIFF

install

npm install is-geotiff

usage

const fs = require("fs");
const isGeoTIFF = require("is-geotiff");

const buffer = fs.readFileSync("./example.tiff");

const { result } = isGeoTIFF({
    data: buffer,
    debug: false // set debug to true for increased logging
});
// result is true