UNPKG

dev-stamp

Version:

💮 Stamp your dev footprint into HTML

21 lines (18 loc) • 581 B
type StampMode = "comment" | "meta-tag"; type CommentInnerDisplay = "inline" | "spaced-inline" | "block"; type StampCommentOptions = { innerDisplay: CommentInnerDisplay; }; type StampMetaTagOptions = { name: string; strictValidation: boolean; overwrite: boolean; }; type StampOptions = { mode: StampMode; targetSelector: string; comment: StampCommentOptions; metaTag: StampMetaTagOptions; }; declare function stampInHtml(message: string, options?: Partial<StampOptions>): void; export { type StampMetaTagOptions, type StampOptions, stampInHtml };