is-ssim

1.1.2 • Public • Published

is-ssim

Checks if a file is SSIM (Standard Schedules Information Manual) file.

Build Status Coverage Status js-standard-style npm node bitHound Overall Score

Install

$ npm install --save is-ssim

Usage

const fs = require('fs')
const isSSIM = require('is-ssim')
 
fs.readFile('data.ssim', 'utf8', (err, data) => {
  if (err) {
    console.error(err)
  } else {
    isSSIM(data)
    //=> true (if valid)
    // or
    // throws 'Not a SSIM file.' error (if not valid)
  }
})

Readme

Keywords

Package Sidebar

Install

npm i is-ssim

Weekly Downloads

1

Version

1.1.2

License

MIT

Last publish

Collaborators

  • bganicky