ddcr

0.1.1 • Public • Published

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)

Package Sidebar

Install

npm i ddcr

Weekly Downloads

1

Version

0.1.1

License

ISC

Unpacked Size

11 kB

Total Files

7

Last publish

Collaborators

  • michaelbuhler