-
Notifications
You must be signed in to change notification settings - Fork 4
(v2.02 and above) Javet engine
NGUYEN DUY QUOC KHANH edited this page Jan 12, 2024
·
1 revision
With Javet, you can write nodejs code in extension.
- Import node_modules:

- Write nodejs code:
const {
createHash,
} = require('node:crypto');
function md5(content) {
return createHash('md5').update(content).digest('hex')
}
jslogger.logs.push(md5("1111"));- Run with Javet

- Result:

@Copyright ngduyquockhanh