# @types/sticky-cluster

> TypeScript definitions for sticky-cluster

Latest version **0.3.5** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/sticky-cluster
pnpm add @types/sticky-cluster
yarn add @types/sticky-cluster
bun add @types/sticky-cluster
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.3.5 |
| Published | 2023-11-07 |
| First published | 2017-12-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/sticky-cluster
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sticky-cluster
- npm.io page: https://npm.io/package/@types/sticky-cluster

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) *

## Recent versions

- 0.3.5 (latest) — 2023-11-07
- 0.3.2 (ts3.6) — 2021-07-02
- 0.3.1 (ts2.3) — 2019-08-19
- 0.3.0 (ts2.2) — 2017-12-11
- 0.3.4 — 2023-10-18
- 0.3.3 — 2023-09-25

## README

# Installation
> `npm install --save @types/sticky-cluster`

# Summary
This package contains type definitions for sticky-cluster (https://github.com/uqee/sticky-cluster).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sticky-cluster.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sticky-cluster/index.d.ts)
````ts
/// <reference types="node"/>
import * as http from "http";

declare namespace stickyCluster {
    type InitializeFn = (callback: Callback) => void;
    type Callback = (server: http.Server) => void;
    interface Options {
        concurrency?: number | undefined;
        port?: number | undefined;
        debug?: boolean | undefined;
        prefix?: string | undefined;
        env?: ((index: number) => { stickycluster_worker_index: number }) | undefined;
        hardShutdownDelay?: number | undefined;
        errorHandler?: ((err: any) => void) | undefined;
    }
}

declare function stickyCluster(callback: stickyCluster.InitializeFn, options?: stickyCluster.Options): void;
export = stickyCluster;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Austin Turner](https://github.com/paustint).

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