UNPKG

@focuson/cod

Version:

A command line tool to help with the code on demand

13 lines (12 loc) 355 B
export interface StringReplaceData { fromMatcher: RegExp; to: string; } export interface ContentAndSha { content: string; sha: string; } export declare class Strings { static findSha(content: string): ContentAndSha; static replaceMultipleStrings(stringReplaceData: StringReplaceData[]): (contents: string) => string; }