odata-resource

JSON →
library 2.0.0 ·javascript maintenance
verified Jun 5, 2026

odata-resource is a Node.js module (v2.0.0, released 2018-06-03) for building REST APIs with Express, Mongoose, and OData query support. It provides a Resource class that wraps a Mongoose model and automatically generates CRUD routes with OData-like query parameters ($filter, $orderby, $select, $expand, $top, $skip). Key differentiators: minimal boilerplate, support for static and instance-based relationships, custom operators (in, notin), and high customizability. Development appears stable but low activity; last release over 6 years ago. Not recommended for new projects; consider alternatives like odata-v4 or feathers-odata for modern OData support.