Feed is a simple yet flexible node.js middleware for connect/express that comes with a built-in websocket client (using Socket.io). It allows for the easy creation and access of feeds, which are collections of content items that are organized and filtered by tags (for example, comments in a thread or an activity feed of friends). MongoDB is used for storage.
The content that feeds are made up of are called Items. Items are models with a list of tags added to them, and Feeds are just lists of tags for filtering the saved Items.
Feeds can be sorted time-based (such as an activity feed or notification log) or score-based (like a Reddit comment section, sorted by the score of each comment) and organized by tags.
First, require the module.