npm

Need private packages and team management tools?Check out npm Orgs. »

@pubsweet/models

0.2.16 • Public • Published

Models

A package that connects all model components together, so that you can use them elsewhere with e.g.

const { User } = require('@pubsweet/models')

For a model component to be accessible through @pubsweet/models, it needs to be listed in your application's config, for example, like so:

{
  pubsweet: {
    components: [
      '@pubsweet/model-user',
      '@pubsweet/model-team',
    ]
  }
}

Keywords

none

install

npm i @pubsweet/models

Downloadsweekly downloads

669

version

0.2.16

license

MIT

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability