# update-me

> Tiny package to detect new available version of an app

Latest version **1.0.2** (published 2016-05-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install update-me
pnpm add update-me
yarn add update-me
bun add update-me
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2016-05-02 |
| First published | 2016-05-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Alex Lapa |
| Maintainers | deadarius |
| Keywords | update, updater, package, version |

## Links

- npm: https://www.npmjs.com/package/update-me
- Repository: https://github.com/Deadarius/update-me
- Homepage: https://github.com/Deadarius/update-me#readme
- Issues: https://github.com/Deadarius/update-me/issues
- npm.io page: https://npm.io/package/update-me

## Dependencies (1)

- [semver](https://npm.io/package/semver.md) ^5.1.0

## Recent versions

- 1.0.2 (latest) — 2016-05-02
- 1.0.1 — 2016-05-02
- 1.0.0 — 2016-05-02

## README

# update-me
Tiny package to detect new available version of an app. Mostly designed to be used with custom cli tools.

## Usage:

##### ES5: 
```js
var updateMe = require('update-me')

updateMe(function (err, newVersion) { // or updateMe({timeout: 2000}, function (err, newVersion) {
  if (err) {
    return
  }

  console.log('Get new version: ', newVersion)
})
```

##### ES6:
```js
import updateMe from 'update-me'

updateMe((err, newVersion) => { // or updateMe({timeout: 2000}, function (err, newVersion) => {
  if (err) {
    return
  }

  console.log('Get new version: ', newVersion)
})
```

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