Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Verten opened this issue May 7, 2024 · 2 comments
Closed

Comments

@Verten
Copy link

Verten commented May 7, 2024

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

@Methuselah96
Copy link
Collaborator

Here's how to import it:

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

Let me know if you have any other questions!

@Verten
Copy link
Author

Verten commented May 14, 2024

Thanks! it works.

@Verten Verten closed this as completed May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants