ddcr
v0.1.1
Published
a directory diff/change renderer
Downloads
2
Maintainers
Readme
ddcr
a directory diff/change renderer.
use this package to visualize file changes between directories.
requirements
currently, the git
program must be available on the path.
installation
npm install ddcr
example usage
const {
getConsolidatedFileChangesBetweenDirectories,
HtmlRenderer
} = require('ddcr')
const directories = [
'/path/to/folder/one',
'/path/to/folder/two'
// as many folders as you want
]
const changes = getConsolidatedFileChangesBetweenDirectories(directories)
const html = HtmlRenderer.renderDocument(changes)