generate-moodle-contenthash
v1.0.7
Published
Generate a Moodle (SHA1) contenthash for a file
Downloads
6
Readme
generate-moodle-contenthash
Generate a Moodle contenthash from a given file.
Usage
// Import the file
const genhash = require('generate-moodle-contenthash')
// Create the hash
const hash = genhash('/path/to/my/file')