filter-diff
v1.0.2
Published
Smart diff filtering based on git features and specific language syntax
Downloads
276
Readme
filter-diff
Smart diff filtering based on git features and specific language syntax.
Install
npm i filter-diff
Usage
The main api entry point is filterToDiffFilePaths
:
import {DiffCategory, filterToDiffFilePaths} from 'filter-diff';
async function main() {
console.log(
await filterToDiffFilePaths({
filter: {exclude: {contains: [DiffCategory.BodyAdditions]}},
}),
);
}
main();