Sift is a tiny library for using MongoDB queries in Javascript. Supported operators: $in, $nin, $exists, $gte, $gt, $lte, $lt, $eq, $ne, $mod, $all, $and, $or, $nor, $not, $size, $type, $regex, $where, $elemMatch. Creates a filter function without built-in MongoDB query operations. This is useful if you're looking to omit certain operations from application bundles. Regexp searches. Supports node.js, and web. Custom Operations. Tree-shaking (omitting functionality from web app bundles). Ability to use an array of expressions. All expressions must test true. Matches values based on the given regular expression. Sift works like MongoDB out of the box, but you're also able to modify the behavior to suite your needs.

Features

  • Regexp searches
  • Supports node.js, and web
  • Custom Operations
  • Tree-shaking (omitting functionality from web app bundles)
  • Creates a filter with all of the built-in MongoDB query operations
  • Creates a filter function without built-in MongoDB query operations

Project Samples

Project Activity

See All Activity >

Categories

Front-Ends

License

MIT License

Follow Sift.js

Sift.js Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Sift.js!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Front-Ends

Registered

2022-12-06