zotero-plugin-scaffold
Version:
A scaffold for Zotero plugin development.
15 lines (12 loc) • 449 B
text/typescript
import * as esToolkit from 'es-toolkit';
export { esToolkit };
import * as esm from 'fs-extra/esm';
export { esm as fse };
declare function replace(contents: string, from: RegExp | RegExp[], to: string | string[]): string;
declare function replaceInFile({ files, from, to, isGlob }: {
files: string | string[];
from: RegExp | RegExp[];
to: string | string[];
isGlob?: boolean;
}): Promise<void>;
export { replace, replaceInFile };