# @types/kraken-js

> TypeScript definitions for kraken-js

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

## Install

```sh
npm install @types/kraken-js
pnpm add @types/kraken-js
yarn add @types/kraken-js
bun add @types/kraken-js
```

## 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.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.2.8 |
| Published | 2023-11-07 |
| First published | 2017-12-21 |
| 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 | 51446 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 2.2.8 (latest) — 2023-11-07
- 2.2.5 (ts3.6) — 2021-07-08
- 2.2.4 (ts2.3) — 2019-08-19
- 2.2.3 (ts2.2) — 2019-02-13
- 2.2.7 — 2023-10-18
- 2.2.6 — 2023-09-14
- 2.2.2 — 2018-06-05
- 2.2.1 — 2017-12-29
- 2.2.0 — 2017-12-21

## README

# Installation
> `npm install --save @types/kraken-js`

# Summary
This package contains type definitions for kraken-js (http://krakenjs.com).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/kraken-js.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/kraken-js/index.d.ts)
````ts
import { Express } from "express";

declare function k(options?: k.Options | string): Express;

declare namespace k {
    interface Kraken extends Express {
        kraken: Kraken;
    }

    interface Options {
        protocols?: object | undefined;
        basedir?: string | undefined;
        configdir?: string | undefined;
        mountpath?: string | undefined;
        inheritViews?: boolean | undefined;
        startupHeaders?: { [key: string]: string } | undefined;
        onconfig?(config: Map<string, any>, next: (err: Error | null, config?: object) => any): any;
        uncaughtException?(err: Error): any;
    }
}

export = k;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:38 GMT
 * Dependencies: [@types/express](https://npmjs.com/package/@types/express)

# Credits
These definitions were written by [Timur Manyanov](https://github.com/darkwebdev), and [Satana Charuwichitratana](https://github.com/micksatana).

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