UNPKG

apply-multi-diff

Version:

A zero-dependency library to apply unified diffs and search-and-replace patches, with support for fuzzy matching.

8 lines (7 loc) 564 B
export { applyDiff as applyStandardDiff, getToolDescription as getStandardDiffToolDescription } from './strategies/standard-diff.cjs'; export { applyDiff as applySearchReplace, getToolDescription as getSearchReplaceToolDescription } from './strategies/search-replace.cjs'; export { ApplyDiffResult, DiffError } from './types.cjs'; export { ERROR_CODES } from './constants.cjs'; export { createErrorResult } from './utils/error.cjs'; export { logger } from './utils/logger.cjs'; export { dedent, getCommonIndent, getIndent, levenshtein } from './utils/string.cjs';