I want to use booleanCrosses and booleanContains methods from Turf.js library in my application on the client side, but I fail. I first tried to download just turf.min.js, but when in my code I call turf.booleanContains(...)
I get
TypeError: turf.booleanContains is not a function
I also tried to download the whole turf archive and install needed packages with npm, but got a hell of error messages. So, what is the right way to install turf.js and some particular packages?