BREAKING CHANGE(core): switch to esm

This commit is contained in:
2022-06-26 11:34:09 +02:00
parent bb7bee3b42
commit 143eef8781
14 changed files with 8721 additions and 9082 deletions

View File

@ -1,4 +1,4 @@
import * as plugins from './nodehash.plugins';
import * as plugins from './nodehash.plugins.js';
export const md5FromString = async (stringToHash: string) => {
return plugins.crypto.createHash('md5').update(stringToHash).digest('hex');