Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@fdebijl/mog
Advanced tools
Opionated mini-ODM and collection of MongoDB utils. Mostly for use in my own projects but you might find it useful as a boilerplate ODM for small projects.
npm install -S @fdebijl/mog
Recommended usage is to have a file that exports a single instance of mog for use across an entire project. Simply import the configured instance of Mog in other files to use any of the exposed operations.
// mog.ts
import { Mog } from '@fdebijl/mog';
export const mog = new Mog({
url: 'mongodb://mongodb0.example.com:27017',
db: 'sample',
appName: 'Sample app',
defaultCollection: 'users'
});
// other-file.ts
import { mog } from './mog';
const user = await mog.get<User>({id: '125919258'});
FAQs
Opionated mini-ODM and collection of MongoDB utils 🔧
The npm package @fdebijl/mog receives a total of 4 weekly downloads. As such, @fdebijl/mog popularity was classified as not popular.
We found that @fdebijl/mog 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.