UNPKG

@intlayer/chokidar

Version:

Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.

9 lines 261 B
import crypto from "crypto-js"; const getFileHash = (filePath) => { const hash = crypto.SHA3(filePath); return hash.toString(crypto.enc.Base64).replace(/[^A-Z\d]/gi, "").substring(0, 20); }; export { getFileHash }; //# sourceMappingURL=getFileHash.mjs.map