is-prj

0.0.3 • Public • Published

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

Package Sidebar

Install

npm i is-prj

Weekly Downloads

0

Version

0.0.3

License

CC0-1.0

Unpacked Size

8.93 kB

Total Files

4

Last publish

Collaborators

  • danieljdufour