How to use the checksum function in checksum

To help you get started, we’ve selected a few checksum examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github willrstern / docker-cloud-nginx-load-balancing / lib / reload-nginx.js View on Github external
checksum.file(configFileName, (err, sum) => {
      if (sum !== checksum(newNginxConf)) {
        reloadNginxConfig(newNginxConf)
      } else {
        console.log("Nginx config was unchanged");
      }
    });
  }
github willrstern / nginx-etcd / lib / reload-nginx.js View on Github external
checksum.file(configFileName, (err, sum) => {
      if (sum !== checksum(newNginxConf)) {
        reloadNginxConfig(newNginxConf)
      }
    })
  }

checksum

Checksum utility for node

MIT
Latest version published 3 years ago

Package Health Score

54 / 100
Full package analysis

Popular checksum functions