0.1.1 • Published 4 years ago

ddcr v0.1.1

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

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)