# @breejs/later

> Maintained fork of later. Determine later (or previous) occurrences of recurring schedules

Latest version **4.2.0** (published 2023-11-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @breejs/later
pnpm add @breejs/later
yarn add @breejs/later
bun add @breejs/later
```

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.2.0 |
| Published | 2023-11-28 |
| First published | 2020-08-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/breejs__later) |
| Module format | CommonJS |
| Node | >= 10 |
| Dependencies | 0 |
| Unpacked size | 459.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 149 |
| Author | BunKat |
| Maintainers | titanism, niftylettuce, gargol, daniellockyer, shadowgate15 |
| Keywords | agenda, async, await, bee, bee, bree, bull, bull, callback, cancel, cancelable, child, clear, cron, cronjob, crontab, date, dates, day, dayjs, delay, english, express, expression, frequencies, frequency, frequent, friendly, graceful, human, humans, interval, job, jobs, js, koa, koatiming, lad, lass, later, moment, momentjs, mongo, mongodb, mongoose, p-cancel, p-cancelable, p-retry, parse, parser, pretty, process, processors, promise, promises, queue, queues, readable, recur, recurring, redis, redis, reload, restart, run, runner, schedule, scheduler, setup, spawn, tab, task, tasker, time, timeout, timer, timers, translated, universalify, worker, workers |

## Links

- npm: https://www.npmjs.com/package/@breejs/later
- Repository: https://github.com/breejs/later
- Issues: https://github.com/breejs/later/issues
- npm.io page: https://npm.io/package/@breejs/later

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 4.2.0 (latest) — 2023-11-28
- 4.1.0 — 2021-10-26
- 4.0.2 — 2020-08-21
- 4.0.1 — 2020-08-21
- 4.0.0 — 2020-08-21
- 3.0.3 — 2020-08-18
- 3.0.2 — 2020-08-17
- 3.0.1 — 2020-08-17
- 3.0.0 — 2020-08-17
- 2.0.1 — 2020-08-17
- 2.0.0 — 2020-08-17

## README

# @breejs/later

[![build status](https://github.com/breejs/later/actions/workflows/ci.yml/badge.svg)](https://github.com/breejs/later/actions/workflows/ci.yml)
[![code coverage](https://img.shields.io/codecov/c/github/breejs/later.svg)](https://codecov.io/gh/breejs/later)
[![code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![made with lass](https://img.shields.io/badge/made_with-lass-95CC28.svg)](https://lass.js.org)
[![license](https://img.shields.io/github/license/breejs/later.svg)](LICENSE)
[![npm downloads](https://img.shields.io/npm/dt/@breejs/later.svg)](https://npm.im/@breejs/later)

> This project is a maintained fork of Later, as I needed it to be maintained and modernized for [Bree][]. Later is a library for describing recurring schedules and calculating their future occurrences.  It supports a very flexible schedule definition including support for composite schedules and schedule exceptions. Create new schedules manually, via Cron expression, via text expressions, or using a fully chainable API.


## Table of Contents

* [Features](#features)
* [Documentation](#documentation)
* [Install](#install)
* [Usage](#usage)
  * [Node](#node)
  * [Browser](#browser)
* [Contributors](#contributors)
* [License](#license)


## Features

Types of schedules supported by *Later*:

* Run a report on the last day of every month at 12 AM except in December
* Install patches on the 2nd Tuesday of every month at 4 AM
* Gather CPU metrics every 10 mins Mon - Fri and every 30 mins Sat - Sun
* Send out a scary e-mail at 13:13:13 every Friday the 13th


## Documentation

See <https://breejs.github.io/later/> for complete documentation and usage.


## Install

[npm][]:

```sh
npm install @breejs/later
```


## Usage

### Node

```js
const later = require('@breejs/later');

console.log(later);
```

### Browser

#### VanillaJS

This is the solution for you if you're just using `<script>` tags everywhere!

```html
<script src="https://unpkg.com/@breejs/later"></script>
<script type="text/javascript">
  (function() {
    console.log(later);
  })();
</script>
```

#### Bundler

Assuming you are using [browserify][], [webpack][], [rollup][], or another bundler, you can simply follow [Node](#node) usage above.


## Contributors

| Name             | Website                    |
| ---------------- | -------------------------- |
| **BunKat**       |                            |
| **Nick Baugh**   | <http://niftylettuce.com/> |
| **yrambler2001** | <https://yrambler2001.me/> |


## License

[MIT](LICENSE) © BunKat


##

[npm]: https://www.npmjs.com/

[browserify]: https://github.com/browserify/browserify

[webpack]: https://github.com/webpack/webpack

[rollup]: https://github.com/rollup/rollup

[bree]: https://github.com/breejs/bree

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