# timers

> A tiny cron-like tools for humman.

Latest version **0.1.1** (published 2014-05-18) · MIT license · 0 weekly downloads

## Install

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

## 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.1.1 |
| Published | 2014-05-18 |
| First published | 2013-12-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | popomore |
| Maintainers | popomore |

## Links

- npm: https://www.npmjs.com/package/timers
- Repository: git@github.com:popomore/timers
- Homepage: https://github.com/popomore/timers
- Issues: https://github.com/popomore/timers/issues
- npm.io page: https://npm.io/package/timers

## Recent versions

- 0.1.1 (latest) — 2014-05-18
- 0.1.0 — 2013-12-02
- 0.0.0 — 2013-12-02

## README

# Schedule

A tiny cron-like tools for humman, implement by Node.js

[![Build Status](https://travis-ci.org/popomore/schedule.png?branch=master)](https://travis-ci.org/popomore/schedule)
[![Coverage Status](https://coveralls.io/repos/popomore/schedule/badge.png)](https://coveralls.io/r/popomore/schedule)

---

## Install

```
$ npm install schedule
```

## Usage

```
var every = require('schedule').every;
every('2s').do(function() {
  // do your job
});
```

You can stop interval when some exception

```
var every = require('schedule').every;
var ins = every('2 seconds').do(cb);

process.on('uncaughtException', function() {
  ins.stop();
})
```

## Format

- ms, millisecond, milliseconds
- s, second, seconds
- m, minite, minites
- h, hour, hours
- d, day, days

## Lisence

MIT

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