1.3.2 • Published 5 years ago

loopback-model-provider v1.3.2

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

loopback-model-provider

loopback-model-provider is a component for loopback, wich serves the model.json specifications for all models together in one Object.

{
  <modelname> :  { model.name,
                   model.plural, // (if not existing in config, will add an 's' to name
                   ...model
                 },
  ...
}

Installation

Install via NPM

npm install loopback-model-provider

Usage

add the following to your component-config.json:

default path is '/model-provider'

  "loopback-model-provider": {
    "path": "/model-provider",
    "excludes": [
      "<<modelname>>",
      ...
    ]
  },

for excludes use the name of the Model (without .json)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago