Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mongoose-management

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose-management

Mongoose schemas management tool

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Mongoose Management Tool

Table of Contents

  • Features
  • Installation
  • Introduction
  • Building
  • Tests
  • Prettier and Lint

Features

  • Manage collections for multiple databases
  • Manage your schemas via CLI
  • Create columns and indexes
  • Generate models with full TypeScript support

Installation

npm install --global mongoose-management

Introduction

In your project folder you start the application and follow the menu items.

mongoose-management

The example folder contains an example project. With the following command the mongoose-management can be started in the context of the example project.

mongoose-management -p path/to/example/folder

Overview of collections groups

Overview of collections groups

Overview of collections

Overview of collections

Overview of columns and indexes

Overview of columns and indexes

Creating a column

Creating a column

Building

Compile the application from TypeScript to JavaScript.

The following command is available:

  • npm run build

    Builds the application

Tests

The following commands are available:

CommandDescription
npm run testRun all tests
npm run test:watchWatching mode from test
npm run test:coverageCreates a coverage report

Prettier and Lint

Ensures that the code is formatted uniformly and that the coding standards are adhered to.

The following commands are available:

  • npm run prettier

    Changes the code formatting as defined in the Prettier setting.

  • npm run lint

    Checks if the lint rules are followed. It calls the prettier command first.

Keywords

FAQs

Package last updated on 28 Oct 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc