Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

index.d.ts 457B

12345678910111213141516
  1. /**
  2. * Asynchronously get the MD5-sum of the file at `path`
  3. *
  4. * @returns a `Promise` that will be resolved with a string containing the MD5-sum
  5. */
  6. declare function md5File (path: string): Promise<string>
  7. /**
  8. * Synchronously get the MD5-sum of the file at `path`
  9. *
  10. * @returns a string containing the MD5-sum
  11. */
  12. declare function md5FileSync (path: string): string
  13. declare const module: (typeof md5File) & { sync: typeof md5FileSync }
  14. export = module