# @pubsweet/models

> A simple package that brings models together

Latest version **0.3.26** (published 2021-06-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pubsweet/models
pnpm add @pubsweet/models
yarn add @pubsweet/models
bun add @pubsweet/models
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.26 |
| Published | 2021-06-08 |
| First published | 2019-01-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 13.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Adam Hyde |
| Maintainers | jure, shockandaudrey, diversemix, andrei.c9, yannisbarlas |

## Links

- npm: https://www.npmjs.com/package/@pubsweet/models
- npm.io page: https://npm.io/package/@pubsweet/models

## Dependencies (1)

- [@pubsweet/logger](https://npm.io/package/@pubsweet/logger.md) ^0.2.61

## Recent versions

- 0.3.26 (latest) — 2021-06-08
- 0.2.6 (next) — 2019-04-18
- 0.3.25 — 2021-06-08
- 0.3.24 — 2021-04-13
- 0.3.23 — 2021-04-08
- 0.3.22 — 2021-04-05
- 0.3.21 — 2021-03-30
- 0.3.20 — 2021-03-29
- 0.3.19 — 2021-03-08
- 0.3.18 — 2021-02-25
- 0.3.17 — 2021-02-23
- 0.3.16 — 2021-02-23
- 0.3.15 — 2020-12-21
- 0.3.14 — 2020-11-19
- 0.3.13 — 2020-11-18
- … 38 more at https://npm.io/package/@pubsweet/models/versions

## README

# 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',
    ]
  }
}
```

---
_Source: https://npm.io/package/@pubsweet/models · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
