Socket
Socket
Sign inDemoInstall

loopback-disabler-mixin

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loopback-disabler-mixin

This is a loopback 3 mixin I find myself using every now and then. Probably not a good one but whatever.


Version published
Maintainers
1
Created
Source

Loopback Disabler Mixin

This loopback middleware is an easyish way to disable common remote methods

Useage

Install

npm i loopback-disabler-mixin --save

Integrate with Loopback

Include the mixin in your model-config.json file

{
  "mixins": [
    "../node_modules/loopback-disabler-mixin"
  ]
}

Then add the mix in to your model.json file

"mixins": {
  "Disabler": {
    "type": "relation | model | limited",
    "relation": "RELATION NAME"
  }
},

Keywords

FAQs

Package last updated on 29 May 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc