jsondiffpatch icon indicating copy to clipboard operation
jsondiffpatch copied to clipboard

[question] how to using JSONFormatter when install this package via npm

Open Verten opened this issue 1 year ago • 1 comments

As titled, when install this package via NPM, how to use the formatter?

Verten avatar May 07 '24 07:05 Verten

Here's how to import it:

import * as jsonpatchFormatter from 'jsondiffpatch/formatters/jsonpatch'

Let me know if you have any other questions!

Methuselah96 avatar May 07 '24 13:05 Methuselah96

Thanks! it works.

Verten avatar May 14 '24 03:05 Verten