# ptz-core-repository

> this is a Polutz module.

Latest version **2.1.3** (published 2017-08-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install ptz-core-repository
pnpm add ptz-core-repository
yarn add ptz-core-repository
bun add ptz-core-repository
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.3 |
| Published | 2017-08-29 |
| First published | 2017-03-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | angeloocana.com |
| Maintainers | alanmarcell, angeloocana |

## Links

- npm: https://www.npmjs.com/package/ptz-core-repository
- Repository: https://github.com/polutz/ptz-core-repository
- Homepage: https://github.com/polutz/ptz-core-repository#readme
- Issues: https://github.com/polutz/ptz-core-repository/issues
- npm.io page: https://npm.io/package/ptz-core-repository

## Dependencies (5)

- [mongodb](https://npm.io/package/mongodb.md) ^2.2.31
- [ptz-log](https://npm.io/package/ptz-log.md) ^1.1.0
- [@types/node](https://npm.io/package/@types/node.md) ^8.0.25
- [@types/mongodb](https://npm.io/package/@types/mongodb.md) ^2.2.10
- [ptz-core-domain](https://npm.io/package/ptz-core-domain.md) ^2.1.1

## Recent versions

- 2.1.3 (latest) — 2017-08-29
- 2.1.2 — 2017-08-29
- 2.1.0 — 2017-08-27
- 2.0.2 — 2017-07-01
- 2.0.1 — 2017-06-29
- 2.0.0 — 2017-06-27
- 1.0.1 — 2017-04-08
- 1.0.0 — 2017-03-30

## README

# ptz-core-repository

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/5f2ff9815dbf40ff82cf49c9bf1a6655)](https://www.codacy.com/app/polutz/ptz-core-repository?utm_source=github.com&utm_medium=referral&utm_content=polutz/ptz-core-repository&utm_campaign=badger)
[![Build Status](https://travis-ci.org/polutz/ptz-core-repository.svg)](https://travis-ci.org/polutz/ptz-core-repository)
[![codecov.io](http://codecov.io/github/polutz/ptz-core-repository/coverage.svg)](http://codecov.io/github/polutz/ptz-core-repository)
[![Dependency Status](https://gemnasium.com/polutz/ptz-core-repository.svg)](https://gemnasium.com/polutz/ptz-core-repository)
[![bitHound Score](https://www.bithound.io/github/gotwarlost/istanbul/badges/score.svg)](https://www.bithound.io/github/polutz/ptz-core-repository)
[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)

ptz-core-repository is a Polutz module.


## Prerequisites

- Node.
- Docker Compose (for tests). https://docs.docker.com/compose/install/

## NPM Global packages
```
    npm install -g ts-node
```

## Setup
```
    npm install   
```

## Test
We use docker to run the tests against a real MongoDB database.
If you are using Windows you don't need 'sudo', you can remove it.
```
    sudo docker-compose up -d
```

Replace CONTAINER_NAME with the output of the last cmd.
```
    sudo docker exec CONTAINER_NAME npm test
```

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