Can someone explain me why is it useful? I.e. why not using underscore or whatever library provides map and filter?
Here are a few good examples which use sift:
- Realtime API library: https://github.com/crcn/guava
- Simple database written in node.js: https://github.com/crcn/gumbo. I use this primarily in command line utilities, and other applications where mongodb seems a bit over the top.
Underscore is certainly a better alternative in many cases, but the goal for sift is to provide control over filtering collections with one query versus manipulating them.