mongo-url-cli

1.0.2 • Public • Published

mongo-url-cli

This cli is the easy way to create urls for mongodb and mongoose

Usage

Installation

npm install -g mongo-url-cli

Get started

To get started, first install the script globally. When done, you can use the cli via npx:

npx mongo-url

It will ask some questions, if you choose to generate your url via a file, see mongodb-uri. Create a config file with the values shown in mongodb-uri and pass the path of the config to the cli. Example:

? For what do you want to use the URI mongodb
? Choose your build option Build by file
? Your file path (must be a JSON file) config.json

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i mongo-url-cli

    Weekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    5.71 kB

    Total Files

    4

    Last publish

    Collaborators

    • laurenz1606