Hi,
The question is a little generic.
If you mean spatial filtering of the UI, on JSON data on the client is not supported. You should use WFS for this.
If you mean how to do some spatial filtering in general, turf should allow you to do it in your dev environment.