@types/kraken-js
TypeScript icon, indicating that this package has built-in type declarations

2.2.8 • Public • Published

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

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

Credits

These definitions were written by Timur Manyanov, and Satana Charuwichitratana.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/kraken-js

Weekly Downloads

1,226

Version

2.2.8

License

MIT

Unpacked Size

4.13 kB

Total Files

5

Last publish

Collaborators

  • types