0.0.3 • Published 3 years ago

is-prj v0.0.3

Weekly downloads
5
License
CC0-1.0
Repository
github
Last release
3 years ago

is-prj

Identify a PRJ File in a Variety of In-Memory Objects, including ArrayBuffer, Buffer, DataView, and Uint8Array

install

npm install is-prj

usage

const isPRJ = require("is-prj");

const buffer = fs.readFileSync("michigan_lld.prj");
const { result } = isPRJ({
  data: buffer,
  debug: false // set debug to true to enable more logging
});
// result is true