Skip to content

MichaelBuhler/ddcr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

a directory diff/change renderer

Resources

License

Stars

Watchers

Forks

Packages

No packages published