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')
Generate a Moodle contenthash from a given file.
// Import the file
const genhash = require('generate-moodle-contenthash')
// Create the hash
const hash = genhash('/path/to/my/file')
npm i generate-moodle-contenthash
0
1.0.7
MIT
946 B
3