Generate a Moodle (SHA1) contenthash for a file
npm install generate-moodle-contenthashGenerate a Moodle contenthash from a given file.
``javascript``
// Import the file
const genhash = require('generate-moodle-contenthash')
// Create the hash
const hash = genhash('/path/to/my/file')