Skip to content
PluginStats

Mongo Snippets for Node-js installs statistics

By Rohan Mukherjee · VS Code Marketplace · Snippets

Provides snippets, boilerplate code for Mongo queries and completion suggestions for mongoose models.

View on VS Code Marketplace Fresh · Oct 18, 2026

Mongo Snippets for Node-js has 338,737 recorded installs on VS Code Marketplace.

It ranks #1072 of 2,500 tracked VS Code Marketplace listings by installs.

It is rated 4.7 out of 5 from 13 ratings.

PluginStats has 3 daily observations since Oct 16, 2026; the latest is from Oct 18, 2026.

Installs
338,737
Official API · Oct 18, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#1072
Among tracked VS Code Marketplace listings

Rating: 4.69 / 5 from 13 ratings

About Mongo Snippets for Node-js

Mongo Snippets

vscode-id: roerohan.mongo-snippets-for-node-js

This Visual Studio Code extension is built for Node-js projects. It provides: • Code Snippets for MongoDB Connection and queries. • Command Palette Feature to Set up Boilerplate Code. • Completion Suggestions for Mongoose Models. • Mongo Connect directly from the editor.

Table of Contents:

• Features • Requirements • Issues • User's Notes • Release Notes • Contributing • License • More information

Features

Command Palette:

Note: Ctrl+Shift+P or Command+Shift+P opens Command Palette in VSCode.

• Mongo Snippets: Refer to Mongoose Documentation • Opens the Mongoose Documentation on a web browser. • Mongo Snippets: Refer to Extension Documentation • Opens the Repository on a web browser. • Mongo Snippets: Set up Mongo Boilerplate Code • Creates folders named routes and models - if they do not exist - in the source directory, and adds files containing boilerplate code. • Mongo Snippets: Show Existing Models • Shows a list of names of models present in the models folder in the source directory. • Highlights the model definition in the file where it had been created. • Mongo Snippets: View MongoDB Collection as JSON Note: This is a beta feature and will be receive updates soon. • Connect to a MongoDB instance using a connection string and view a DB as a JSON.

Completion Suggestions:

Note: See User's Notes for details.

• Model name suggestions: • First it identifies the names of the models in a folder named models (if any) in the source directory. • It stores the model and field names and provides completion suggestions when you type. • Suggests field names for models. E.G. if the model User has a field name, on typing User., name is suggested. • Field names are also suggested inside {...}.

Snippets:

The following are some of the snippets that can be generated with this extension.

Note: Type the following snippets and press 'Tab' OR 'Ctrl/Command + Space; Enter' for auto-completion.

| Type/No. | Snippet | Stands For | Function |

| Generic: | | | | | 1. | !mdbc | MongoDB Connect | MongoDB connect on port 27017 | | 2. | !mdbgum | MongoDB Generate User Model | Generate typical user model | | 3. | !mdba | MongoDB Aggregate | *Model.aggregate* query | | 4. | !mdbcd | MongoDB CountDocuments | *Model.countDocuments* query | | 5. | !mdbmr | MongoDB MapReduce | *Model.mapReduce* query | | 6. | !mdbp | MongoDB Populate | *Model.populate* query | | 7. | !mdbbw | MongoDB BulkWrite | *Model.bulkWrite* query | | Create/Insert: | | | | | 1. | !mdbcr | MongoDB Create | *Model.create* query | | 2. | !mdbcc | MongoDB CreateCollection | *Model.createCollection* query | | 3. | !mdbim | MongoDB InsertMany | *Model.insertMany* query | | Find: | | | | | 1. | !mdbf | MongoDB Find | *Model.find* query | | 2. | !mdbfo | MongoDB FindOne | *Model.findOne* query | | 3. | !mdbfbi | MongoDB FindById | *Model.findById* query | | Replace: | | | | | 1. | !mdbro | MongoDB ReplaceOne | *Model.replaceOne* query | | Update: | | | | | 1. | !mdbfoau | MongoDB FindOneAndUpdate | *Model.findOneAndUpdate* query | | 2. | !mdbuo | MongoDB UpdateOne | *Model.updateOne* query | | 3. | !mdbum | MongoDB UpdateMany | *Model.updateMany* query | | Delete: | | | | | 1. | !mdbfoad | MongoDB FindOneAndDelete | *Model.findOneAndDelete* query | | 2. | !mdbdo | MongoDB DeleteOne | *Model.deleteOne* query | | 3. | !mdbdm | MongoDB DeleteMany | *Model.deleteMany* query | | Methods and Statics: | | | | | 1. | !mdbmethod | MongoDB Methods | *schema.methods.function* | | 2. | !mdbstatic | MongoDB Statics | *schema.statics.function* |

Requirements

There are no dependencies for this extension to work, but it provides mongoose-js snippets, hence mongoose should be installed.

• mongoose library from npm. This can be installed by executing the following command in the folder where 'package.json' is present.

Make sure mongoose is added as a dependency in package.json

Issues

Please report issues on vscode-MongoSnippets-NodeJS.

User's Notes

Source Directory

• The source directory, as mentioned multiple times, is by default the root directory of your workspace. It can be modified by adding the following to .vscode/settings.json in your workspace root directory. • The above line changes the source directory from the root directory of the workspace to a folder named src in the root directory.

Other

• The boilerplate is set up in the source directory of the workspace. In order to set up the boilerplate code in a certain directory, that directory must be open in a new workspace. (Open the folder you want the boilerplate code in with VSCode). • Model name suggestions are only given for those models defined in files present in a directory called models in the source directory of the workspace. Folders with other names are not checked, hence models defined in them will not show up as suggestions. • In files where models are described, to be able to detect the models, mongoose must be imported as mongoose only. For example, • const mongoose = require('mongoose'); • import mongoose from 'mongoose'; • The model must be created in the models folder as follows: • const modelName = mongoose.model('modelName', modelSchema) • Mongo Snippets: See Existing Models command shows models only in the source directory of the workspace. • For field name suggestions, each model should be exported in a seperate file, and the file should not have errors.

Release Notes

These are the release notes for mongo-snippets-for-node-js.

v1.3.5

• Fix: • Bump lodash to newer version.

v1.3.4

• Fix: • GitHub release action issues fixed.

v1.3.3

• Feat: • GitHub release action added.

v1.3.2

• Feat: • Use VSCE to publish. • Publish using GitHub actions.

v1.3.1

• Fix: • CompletionItemProvider code optimization. • General working of the extension.

v1.3.0

• Feat: • Get sourceDir from .vscode/settings.json under key mongosnippets. • Fix: • Set up boilerplate, make folders awaited.

v1.2.5…

Description from the VS Code Marketplace listing.

  • javascript
  • Mongo
  • MongoDB
  • mongoose
  • mongoose-js
  • node
  • NoSQL
  • snippet
  • snippets
  • typescript

Where Mongo Snippets for Node-js sits in the listing

Each band is one page of 20. Installs on a log scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All VS Code Marketplace2,500 listings · 125 pages · page 54, #12 (overall #1072)
All VS Code Marketplace: every listing in installs order
PNG SVG
Snippets489 listings · 25 pages · page 10, #15 (overall #195)
Snippets: every listing in installs order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

Mongo Snippets for Node-js installs on VS Code Marketplace, last 90 days: 338,737 installs as of Oct 18, 2026.Mongo Snippets for Node-jsInstalls on VS Code Marketplace · Last 90 days338,737installs338.7K338.7K338.7K338.7K338.7K338.7K338.7KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 18, 2026 · 3 observations · Updated Oct…pluginstats.com
Mongo Snippets for Node-js installs on VS Code Marketplace, last 90 days: 338,737 installs as of Oct 18, 2026.
PNG SVG

7/30/90-day growth

Mongo Snippets for Node-js installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.Mongo Snippets for Node-jsInstalls growth on VS Code Marketplace338,737installs now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
Mongo Snippets for Node-js installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.
PNG SVG

Ranking history

Mongo Snippets for Node-js VS Code Marketplace ranking history: currently #1072 (by installs).Mongo Snippets for Node-jsVS Code Marketplace ranking · by installs · Last 90 days#1072current rank#1070#1071#1072#1073#1074Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 16, 2026 – Oct 18, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
Mongo Snippets for Node-js VS Code Marketplace ranking history: currently #1072 (by installs).
PNG SVG

Ratings over time

Mongo Snippets for Node-js ratings on VS Code Marketplace, last 90 days: 13 ratings as of Oct 18, 2026.Mongo Snippets for Node-jsRatings on VS Code Marketplace · Last 90 days13ratings11.51212.51313.51414.5Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 18, 2026 · 3 observations · Updated Oct…pluginstats.com
Mongo Snippets for Node-js ratings on VS Code Marketplace, last 90 days: 13 ratings as of Oct 18, 2026.
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (3)
Recent installs observations for Mongo Snippets for Node-js
Date (UTC)InstallsChange vs. previous
338,737+17
338,720+32
338,688—

Similar VS Code Marketplace Snippets plugins

Data source

Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.

Listing: https://marketplace.visualstudio.com/items?itemName=roerohan.mongo-snippets-for-node-js. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.