# upvista

> Any versioning update server

Latest version **0.2.1** (published 2017-02-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install upvista
pnpm add upvista
yarn add upvista
bun add upvista
```

## 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.2.1 |
| Published | 2017-02-09 |
| First published | 2017-01-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >7.2.1 |
| Dependencies | 6 |
| Known vulnerabilities | 0 (+3 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | arusakov |
| Keywords | updates, electron, node, postgres, pg |

## Links

- npm: https://www.npmjs.com/package/upvista
- Repository: https://github.com/arusakov/upvista
- Homepage: https://github.com/arusakov/upvista#readme
- Issues: https://github.com/arusakov/upvista/issues
- npm.io page: https://npm.io/package/upvista

## Dependencies (6)

- [pg](https://npm.io/package/pg.md) 6.1.2
- [koa](https://npm.io/package/koa.md) 2.0.0-alpha.7
- [tslib](https://npm.io/package/tslib.md) 1.5.0
- [bluebird](https://npm.io/package/bluebird.md) 3.4.7
- [koa-router](https://npm.io/package/koa-router.md) 7.1.0
- [koa-bodyparser](https://npm.io/package/koa-bodyparser.md) 3.2.0

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 0.2.1 (latest) — 2017-02-09
- 0.2.0 — 2017-01-19
- 0.1.1 — 2017-01-18
- 0.1.0 — 2017-01-18

## README

Upvista (work in progress)
=================================
[![Build Status](https://travis-ci.org/arusakov/upvista.svg?branch=master)](https://travis-ci.org/arusakov/upvista)
[![codecov](https://codecov.io/gh/arusakov/upvista/branch/master/graph/badge.svg)](https://codecov.io/gh/arusakov/upvista)
[![Known Vulnerabilities](https://snyk.io/test/github/arusakov/upvista/badge.svg)](https://snyk.io/test/github/arusakov/upvista)

Dependencies
------------
* Node.js (v7.2.1+) and npm (v3+)
* PostgreSQL (v9.5+)

ENV variables
------------
see [env.ts](src/env.ts)

Development
-----------
**First steps**
* run `npm install` in project root
* see `scripts` in `package.json`
* start PG and `createdb upvista`

**Main commands**
* `npm run dev` - run server via nodemon (auto relaunch)
* `npm run test-ci` - run unit tests in watch mode
* `npm run coverage` - code coverage in text format in terminal
* `npm run coverage-html` - code coverage in html format in `coverage` folder

Production
----------
* global NODE_ENV=production
* use [pm2](https://github.com/Unitech/pm2)
* `npm install -g pm2@latest`
* `cd /path-to-project`
* `npm view upvista dist.tarball | xargs curl | tar --strip-components=1 -zxv`
* `npm install --ignore-scripts`
* specify global env before next cmd
* `pm2 start ./ --name upvista -i max --merge-logs --log-date-format="YYYY-MM-DD HH:mm:ss.SSS Z"`
* `pm2 save`
* use `pm2 reload upvista` for [reloading](http://pm2.keymetrics.io/docs/usage/signals-clean-restart/)
* use `pm2 flush` for [flush logs](http://pm2.keymetrics.io/docs/usage/log-management/#flushing-logs)
* use `pm2 startup` for generate [startup script](http://pm2.keymetrics.io/docs/usage/startup/)

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