
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
mongodb-stage-validator
Advanced tools
Parses and validates MongoDB aggregation pipeline stages.
Validates a MongoDB aggregation pipeline stage.
The main module exposes two functions: accepts(stageStr)
and parse(stageStr)
.
accepts(stageStr)
The accepts(stageStr)
function takes a pipeline stage string and returns true
if the
string is a valid MongoDB pipeline stage, false
otherwise.
Example:
var accepts = require('compass-stage-validator').accepts;
var assert = require('assert');
assert.ok(accepts('{"$limit": 1}'));
assert.ok(accepts('{"match": {"x": 35}}'));
assert.equal(accepts('{"$invalid": "key"}'), false);
mongodb-query-parser
Validate and parse MongoDB queries and projectionsmongodb-language-model
Work with rich AST's of MongoDB queries@mongodb-js/compass-aggregations
MongoDB Compass UI Plugin for building and debugging aggregation pipelines.Apache 2.0
FAQs
Parses and validates MongoDB aggregation pipeline stages.
The npm package mongodb-stage-validator receives a total of 83 weekly downloads. As such, mongodb-stage-validator popularity was classified as not popular.
We found that mongodb-stage-validator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.