Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/derhuerst/next-critical-mass-berlin-dates
Compute dates of the next Critical Mass Berlin events.
https://github.com/derhuerst/next-critical-mass-berlin-dates
berlin critical-mass cycling
Last synced: 6 days ago
JSON representation
Compute dates of the next Critical Mass Berlin events.
- Host: GitHub
- URL: https://github.com/derhuerst/next-critical-mass-berlin-dates
- Owner: derhuerst
- License: isc
- Created: 2019-03-02T13:12:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-04T17:48:16.000Z (over 4 years ago)
- Last Synced: 2024-11-06T09:04:50.404Z (8 days ago)
- Topics: berlin, critical-mass, cycling
- Language: JavaScript
- Homepage: https://github.com/derhuerst/next-critical-mass-berlin-dates#next-critical-mass-berlin-dates
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# next-critical-mass-berlin-dates
**Compute dates of the next [Critical Mass](https://en.wikipedia.org/wiki/Critical_Mass_(cycling)) Berlin events.**
[![npm version](https://img.shields.io/npm/v/next-critical-mass-berlin-dates.svg)](https://www.npmjs.com/package/next-critical-mass-berlin-dates)
[![build status](https://api.travis-ci.org/derhuerst/next-critical-mass-berlin-dates.svg?branch=master)](https://travis-ci.org/derhuerst/next-critical-mass-berlin-dates)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/next-critical-mass-berlin-dates.svg)
[![chat with me on Gitter](https://img.shields.io/badge/chat%20with%20me-on%20gitter-512e92.svg)](https://gitter.im/derhuerst)
[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)## Installation
```shell
npm install next-critical-mass-berlin-dates
```## Usage
```js
const computeNextCriticalMassDates = require('next-critical-mass-berlin-dates')const nextCriticalMassDates = computeNextCriticalMassDates()
console.log(nextCriticalMassDates.next().value) // 1553886000000
console.log(nextCriticalMassDates.next().value) // 1556301600000
console.log(nextCriticalMassDates.next().value) // 1559325600000
````computeNextCriticalMassDates` is a [generator function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*).
## Contributing
If you have a question or need support using `next-critical-mass-berlin-dates`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/next-critical-mass-berlin-dates/issues).