🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

loopback-dynamo-model

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loopback-dynamo-model

Loopback dynamo model to provide which endpoints to share

latest
Source
npmnpm
Version
3.2.0
Version published
Maintainers
1
Created
Source

loopback-Dynamo-model

Loopback Dynamo Model

  • npm install loopback-dynamo-model --save
  • within server/server.js add require('loopback-dynamo-model')(app)

yourmodel.json

name: "YourModel"
base: "DynamoModel"

defaultMethods: [ 'find', 'create' ] // only enable find and create endpoint
defaultMethods: 'all' // enable all default endpoints
defaultMethods: 'none' // dont expose any endpoints
defaultMethods: 'extended' // enable all default endpoints + findOrCreate endpoint

License: MIT

FAQs

Package last updated on 21 Nov 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