dartdiff 1.0.0
dartdiff: ^1.0.0 copied to clipboard
Pure Dart port of jsdiff for text diffs, patches, and format conversion.
import 'package:dartdiff/dartdiff.dart';
void main() {
final changes = diffChars('Old Value.', 'New ValueMoreData.');
if (changes == null) {
print('Diff aborted');
return;
}
print(convertChangesToXml(changes));
}