UNPKG

@typed/content-hash

Version:

Content hash a directory of HTML/JS/CSS files and other static assets

10 lines (7 loc) 291 B
import { Env } from '@typed/fp/Env' import { Option } from 'fp-ts/Option' import { LoggerEnv } from '../application/services/logging' import { Document } from '../domain/model' export interface HashPlugin { readonly readFilePath: (filePath: string) => Env<LoggerEnv, Option<Document>> }