JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 199
  • Score
    100M100P100Q78553F
  • License MIT

Check specified path sign with native current OS signing tools.

Package Exports

  • sign-check

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sign-check) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

SignCheck

NPM Build Status

Check specified path sign with native current OS signing tools

Usage

Get the package via NPM: npm install sign-check.

const SignCheck = require('sign-check');

const somePath = 'some/path/for/test';

// for macOS
SignCheck.checkMac(somePath).then(
    (isSigned) => {
        console.log('File sign status ' + isSigned);
    },
    (error) => {
        console.log(error);
    }
);

//Same behavior for win function
SignCheck.checkWin(somePath).then(
...
);

Notes

For Win verification used sample code compiled to binary.