Nine Pedestrians Mesmerized
    Wondering what’s next for npm?Check out our public roadmap! »

    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)
      }
    })

    Install

    npm i is-ssim

    DownloadsWeekly Downloads

    0

    Version

    1.1.2

    License

    MIT

    Last publish

    Collaborators

    • avatar