
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
mongocli-client
Advanced tools
A simple command Line tool that manages your local or remote MongoDB instance. A client that adds,reads, updates and deletes content as well as other operations
A simple command-line client for mongodb built on top of mongoose and the native mongodb-driver.It was designed to simplify usage of mongodb and its tools(shell). Once installed global. No need for a GUI client.
Before you install, ensure you have nodejs v7.xx and higher.Command-line tool is available on the npm registry.
npm install mongocli-client -g
Options:
-h, --help output usage information
Commands:
start|s starts the mongo service for windows platform or
checks if the service is running on other platforms
kill|k stops the mongodb service
list|ls lists the databases available for usage
documents|docs [options] <dbname> returns all the documents in specific collection in a database
find|f [options] <dbname> finds the specific document from the name database
list-collection|cols <dbname> list all the collections in the preferred database
del|-d [options] <dbname> deletes specified document from the database
remote|re connects to a remote database ie mlab or mongoaltas or
local mongo shell
eval|ev [options] <cmd> run mongo shell commmand parsed as arguements
delcol|rmc [options] <cmd> deletes the named collection
mkCol|ccol [options] <cmd> create collection
delAll|dAll [options] <dbname> deletes all the documents in the specific collection
add [options] <dbname> add documents or an array of documents into the collection
update|up [options] <dbname> updated a specific document
dropDb <dbname> drops the specified database
stats <dbname> returns of the statistics of the named database
mkDb <dbname> creates the specified database

Note: For all the CRUD commands to work, ensure mongodb is running on the computer
1.Start Command:
For windows users, you should know the path to the mongo-bin directory. You'll be prompted to insert it Its better if you installed mongodb manually.
2.Remote Command:
This command was designed to connect to a remote database or the local mongo shell. you'll be prompted to insert connection string.
if no connection is inserted, the App connects you to the mongoShell. Note: windows users must insert the mongo-bin path when prompted for this command to work. The command is illustrated in gif below.
3.CRUD operation illustration
These operations illustrated below are only possible if mongodb service is running.
Enjoy the rest of the features
Ensure that mongodb is running before running the command below.
npm test
FAQs
A simple command Line tool that manages your local or remote MongoDB instance. A client that adds,reads, updates and deletes content as well as other operations
We found that mongocli-client 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.