Skip to content

Latest commit

 

History

History
49 lines (27 loc) · 568 Bytes

README.md

File metadata and controls

49 lines (27 loc) · 568 Bytes

diff-object

const diff = require('diff-object')

API

showDifferentFields(x, y, [name])

x, y

Required
Type: object

object you want to compare.

name

Type: string
Default: obj

whatever you want to name the object

getText(x, y) and getHTML(x, y)

x, y

Required
Type: object

object you want to compare.

saveHTML(x, y, [options])

x, y

Required
Type: object

object you want to compare.

options

  • folder: where you want to save the html
  • filename: what you want to name the html