Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 600 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 600 Bytes

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)