---
title: events package
description: The events package provides tools for analyzing event-based data.
url: https://docs.influxdata.com/flux/v0/stdlib/contrib/tomhollingworth/events/
estimated_tokens: 245
product: Flux
version: v0
---

# events package

-   Flux 0.91.0+
-   View InfluxDB support

The `events` package is a user-contributed package maintained by the [package author](#package-author-and-maintainer).

The `events` package provides tools for analyzing event-based data. Import the `contrib/tomhollingworth/events` package:

```js
import "contrib/tomhollingworth/events"
```

## Functions

-   [events.duration()](/flux/v0/stdlib/contrib/tomhollingworth/events/duration/)
