Skip to content

tennashi/deno-diff-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

diff-parser

Parse unified diff format

Usage

import { parse } from "https://deno.land/x/diff_parser/mod.ts";

const process = Deno.run({
  cmd: ["git", "diff", "--no-color"]
  stdout: "piped",
});

const output = await process.output();
const diffText = new TextDecoder().decode(output);
process.close();

parse(diffText);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published