![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
mongodb-activity-feed
Advanced tools
Activity Feeds, Timeline, Notification Feed, News Feed with MongoDB, Mongo
Simple example of how to build a news feed with Node and MongoDB. I created it for this blogpost: "Building Activity Feeds with MongoDB vs the alternatives"
https://docs.google.com/document/d/11gfMOPgE476fLsb2sXYy955X2G4egUv4p7-zlXdf8hU/edit
It uses CRDTs https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type to reduce the need for locks.
import {FeedManager} from 'mongodb-activity-feed'
const fm = new FeedManager(mongoConnection, redisConnection)
fm.feed('user', '123')
Add an activity like this.
fm.addActivity(activity, feed)
fm.removeActivity(activityID)
fm.removeActivityFromFeed(activityID, feed)
fm.follow(a, b)
fm.unfollow(a, b)
fm.readFeed('user', '123', options)
NODE_ENV=test node_modules/mocha/bin/_mocha --timeout 15000 --require test-entry.js "test/**/*.js"
Or if you're lazy
yarn test
The cost/performance of a MongoDB based activity feed is substantially worse compared to Stream (https://getstream.io/). Unless you need to run your feeds on-prem you should not use this in prod.
FAQs
Activity Feeds, Timeline, Notification Feed, News Feed with MongoDB, Mongo
The npm package mongodb-activity-feed receives a total of 3 weekly downloads. As such, mongodb-activity-feed popularity was classified as not popular.
We found that mongodb-activity-feed demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.