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

@travetto/model

Package Overview
Dependencies
Maintainers
1
Versions
371
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/model

travetto: Model ===

  • 0.0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
100
decreased by-58.85%
Maintainers
1
Weekly downloads
 
Created
Source

travetto: Model

This module provides more constrained access to Mongo DB. This is achieved using the following:

  • Mongoose-based validations (not query)
  • Decorator based definition of mongo operations
    • @Unique defines a unique index
    • @Index defines a general index
    • @SubType defines the ability to have multiple classes share a collection space
  • BaseModel to provide common mechanism for all base models (construction from plain objects)

FAQs

Package last updated on 03 Oct 2017

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