is-geotiff

0.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i is-geotiff

Weekly Downloads

1

Version

0.0.1

License

CC0-1.0

Unpacked Size

1.66 MB

Total Files

9

Last publish

Collaborators

  • danieljdufour