loopback-rest-include-mixin

<p align="center"> <a href="https://npmjs.org/package/loopback-rest-include-mixin"> <img src="https://img.shields.io/npm/v/loopback-rest-include-mixin.svg?style=flat-square" alt="NPM Version"> </a>

Usage no npm install needed!

<script type="module">
  import loopbackRestIncludeMixin from 'https://cdn.skypack.dev/loopback-rest-include-mixin';
</script>

README

loopback-rest-include-mixin

NPM Version Build Status Downloads Dependency Status License

This module is designed for changing GET /models and GET /models/id to automatically contain related model

Install

npm i -D loopback-rest-include-mixin

or use Yarn

yarn install

Usage

import loopbackRestIncludeMixin from "loopback-rest-include-mixin"

loopbackRestIncludeMixin(modelName, options)

License

MIT © chopperlee