UNPKG

ranges-apply

Version:

Take an array of string index ranges, delete/replace the string according to them

12 lines (9 loc) 275 B
import { Ranges } from "ranges-merge"; export { Range, Ranges } from "ranges-merge"; declare const version: string; declare function rApply( str: string, originalRangesArr: Ranges, progressFn?: (percentageDone: number) => void, ): string; export { rApply, version };