open-index/open-npm huggingface dataset:
npm package: @steveojs/datadog
Description: A Datadog trace provider for the [steveo](https://github.com/ordermentum/steveo) pub/pub background processing library.
Author: Ordermentum
Latest version: 17.0.0

# steveo-trace-provider-datadog

A Datadog trace provider for the
[steveo](https://github.com/ordermentum/steveo) pub/pub background processing
library.
npm package: @steveojs/newrelic
Description: A New Relic trace provider for the [steveo](https://github.com/ordermentum/steveo) pub/pub background processing library.
Author: Ordermentum
Latest version: 17.0.0

# steveo-trace-provider-newrelic

A New Relic trace provider for the
[steveo](https://github.com/ordermentum/steveo) pub/pub background processing
library.
npm package: @steveojs/scheduler-prisma
Description: A helper lib for a Prisma/Postgres backed in-process job queue
Latest version: 7.8.0
Deprecated: This package has been deprecated

# steveo-scheduler-prisma

A scheduler provider for [steveo](https://github.com/ordermentum/steveo) library.

- Computes next run of a schedule
- Computes n next run occurences of a schedule

### What's new
Version 7.1.0

- Deprecated `computeNextRunAt` method replaced by `computeNextRun` that uses the rrule-rust library
    #### Usage
    ```
    computeNextRunAt(interval, 'UTC') ---> OLD
    computeNextRun(interval, { timezone: 'UTC', startDate: moment().toISOString() }) ---> NEW
    ```
- `computeNextRun` will check if the rule is valid, convert to a valid rule if not and return a single run date in ISO string
    #### Parameters
     - interval: should be an [iCal](https://icalendar.org/rrule-tool.html) rrule string
     - timezone: timezone to compute the next run, UTC by default
     - startDate: start date to compute the next run, now() by default
    #### Usage
    ```
    computeNextRun(interval, { timezone: 'UTC', startDate: moment().toISOString() })
    ```
- `computeNextRuns` similar to `computeNextRun` but will return n next run dates in ISO string
    #### Parameters
     - interval: should be an [iCal](https://icalendar.org/rrule-tool.html) rrule string
     - timezone: timezone to compute the next run, UTC by default
     - startDate: start date to compute the next run, now() by default
     - count: number of occurrences, 1 by default max of 30
    #### Usage
    ```
    computeNextRuns(interval, { timezone: 'Australia/Sydney', startDate: moment().toISOString(), count: 5 })
    ```
npm package: @steveojs/scheduler-sequelize
Description: A helper lib for a Sequelize/Postgres backed in-process job queue
Latest version: 7.7.0
Deprecated: This package has been deprecated

# steveo-scheduler-sequelize

A scheduler provider for [steveo](https://github.com/ordermentum/steveo) library.

- Computes next run of a schedule
- Computes n next run occurences of a schedule

### What's new
Version 7.1.0

- Deprecated `computeNextRunAt` method replaced by `computeNextRun` that uses the rrule-rust library
    #### Usage
    ```
    computeNextRunAt(interval, 'UTC') ---> OLD
    computeNextRun(interval, { timezone: 'UTC', startDate: moment().toISOString() }) ---> NEW
    ```
- `computeNextRun` will check if the rule is valid, convert to a valid rule if not and return a single run date in ISO string
    #### Parameters
     - interval: should be an [iCal](https://icalendar.org/rrule-tool.html) rrule string
     - timezone: timezone to compute the next run, UTC by default
     - startDate: start date to compute the next run, now() by default
    #### Usage
    ```
    computeNextRun(interval, { timezone: 'UTC', startDate: moment().toISOString() })
    ```
- `computeNextRuns` similar to `computeNextRun` but will return n next run dates in ISO string
    #### Parameters
     - interval: should be an [iCal](https://icalendar.org/rrule-tool.html) rrule string
     - timezone: timezone to compute the next run, UTC by default
     - startDate: start date to compute the next run, now() by default
     - count: number of occurrences, 1 by default max of 30
    #### Usage
    ```
    computeNextRuns(interval, { timezone: 'Australia/Sydney', startDate: moment().toISOString(), count: 5 })
    ```
npm package: @steveojs/sentry
Description: A Sentry Plugin for the [steveo](https://github.com/ordermentum/steveo) pub/pub background processing library.
Author: Ordermentum
Latest version: 17.0.0

# steveo-sentry

A Sentry Plugin for the
[steveo](https://github.com/ordermentum/steveo) pub/pub background processing
library.

This includes

- Exception capture
- Tracing middleware
npm package: @steveojs/statsd
Description: A statsd instrumentation for the [steveo](https://github.com/ordermentum/steveo) pub/pub background processing library.
Author: Ordermentum
Latest version: 17.0.0

# steveo-statsd

A statsd instrumentation for the
[steveo](https://github.com/ordermentum/steveo) pub/pub background processing
library.
npm package: @steveojs/storage-postgres
Description: Postgres persistence implementation for Steveo
Author: engineering@ordermentum.com
Latest version: 13.0.0

# Overview

This is a Postgres implementation of the Steveo abstract storage interface.

It uses Prisma to manage database access and schema migrations.

## Local development notes

For local development the database URLs will use the following:

- `postgresql://steveo@localhost:5432/steveo_development` Used in development application execution
- `postgresql://steveo@localhost:5432/steveo_testing` Used in unit test execution

Push migrations locally for development (initialises `_prisma_migrations` table for development etc):

```bash
DATABASE_URL=... npx prisma migrate dev
```

Create a new migration once changes have been made to the `prisma/schema.prisma` file:

```bash
DATABASE_URL=... npx prisma migrate dev --name "<NEW_MIGRATION_NAME>"
```

Reset the database and replay all migrations (DESTRUCTIVE):

```bash
DATABASE_URL=... npx prisma migrate reset
```

## Staging & production notes

Deploy pending migrations to a non-development environment (does not generate scripts, only applies pending migrations):

```bash
DATABASE_URL=... npx prisma migrate deploy
```