
Security News
152 Chrome Live Wallpaper Extensions Hid Ad Tracking and Faked Google Search Traffic
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.
@drivly/mongo-fetch
Advanced tools
Fetch-based Mongo Client for the Edge (Including Cloudflare Workers, Vercel Edge Functions, Deno, etc), the Browser, or Node that is API Compatible with the official `mongodb` NodeJS driver, and can hit the official Mongo Atlas Data API, or the the [Mongo
This client is a HTTP adapter for the Data API, allowing you to access data as if you were connecting to a MongoDB database directly. While it is not a full replacement for the MongoDB driver, it does provide a way to access MongoDB from a browser or edge-computing service like Cloudflare Workers.
import { MongoFetchClient } from 'mongo-fetch-client'
const client = new MongoFetchClient(
'clusterName', // The cluster name in our self-hosted Data API, otherwise this is the dataSource.
{
url: 'https://data-api.example.com',
apiKey: 'secret' // API key for authenticating with the API
}
)
const documents = await client
.db('database')
.collection('collection')
.find({ name: 'John' })
.limit(2)
.sort({ age: -1 })
.project({ name: 1, age: 1 })
.toArray()
Since this driver is a close match for the MongoDB driver, you can use the official MongoDB documentation for reference. The only difference is that you will need to use the MongoFetchClient class instead of the MongoClient class. You can find the documentation here.
Heres a list of operations that are supported:
This driver is not 100% compatible with the MongoDB driver. As of right now, this driver only supports basic CRUD, aggregation, and index operations. It does not support transactions, change streams, or other advanced features. As our self-hosted Data API grows, we will add further features to this driver.
FAQs
Fetch-based Mongo Client for the Edge (Including Cloudflare Workers, Vercel Edge Functions, Deno, etc), the Browser, or Node that is API Compatible with the official `mongodb` NodeJS driver, and can hit the official Mongo Atlas Data API, or the the [Mongo
The npm package @drivly/mongo-fetch receives a total of 0 weekly downloads. As such, @drivly/mongo-fetch popularity was classified as not popular.
We found that @drivly/mongo-fetch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.