Import JSON PATCH library via CLI


#1

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?


#2

What error did you get ?


#3

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.


#4

Glad to hear that you got it working