Import JSON PATCH library via CLI

I want to use the library “fast-json-patch” with my Aurelia page, but can’t get it to work. It’s probably not in the right “package format”.

Did try both “au install” and “npm install” + manually editing aurelia.json, and different styles of import.

Any tips?

What error did you get ?

I don’t remember anymore, it was something like it couldn’t find the objects/methods. I tried different variations, imports, etc.

The solution was to switch to a different library. Using jiff now, and it seems to work fine. Easy to install and use.

Glad to hear that you got it working