Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/breejs/later
*Maintained fork of Later.* A javascript library for defining recurring schedules and calculating future (or past) occurrences for them. Includes support for using English phrases and Cron schedules. Works in Node and in the browser.
https://github.com/breejs/later
browser javascript node occurences recurring schedule
Last synced: 7 days ago
JSON representation
*Maintained fork of Later.* A javascript library for defining recurring schedules and calculating future (or past) occurrences for them. Includes support for using English phrases and Cron schedules. Works in Node and in the browser.
- Host: GitHub
- URL: https://github.com/breejs/later
- Owner: breejs
- License: mit
- Created: 2020-08-17T14:48:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-28T21:21:22.000Z (about 1 year ago)
- Last Synced: 2025-01-05T12:04:11.469Z (14 days ago)
- Topics: browser, javascript, node, occurences, recurring, schedule
- Language: JavaScript
- Homepage: https://breejs.github.io/later/
- Size: 1.58 MB
- Stars: 137
- Watchers: 3
- Forks: 15
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome - breejs/later - *Maintained fork of Later.* A javascript library for defining recurring schedules and calculating future (or past) occurrences for them. Includes support for using English phrases and Cron schedules. Works in Node and in the browser. (JavaScript)
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 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 `` tags everywhere!
```html
<script src="https://unpkg.com/@breejs/later">(function() {
console.log(later);
})();```
#### 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** | |
| **yrambler2001** | |## 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