2.0.6 • Published 2 years ago

@types/koa-basic-auth v2.0.6

Weekly downloads
2,125
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/koa-basic-auth

Summary

This package contains type definitions for koa-basic-auth (https://github.com/koajs/basic-auth).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-basic-auth.

index.d.ts

// Type definitions for koa-basic-auth 2.x
// Project: https://github.com/koajs/basic-auth
// Definitions by: Tobias Wolff <https://github.com/Tobias4872>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

import * as Koa from "koa";

declare function auth(opts: {
    name: string;
    pass: string;
}): Koa.Middleware;

export = auth;

Additional Details

  • Last updated: Fri, 09 Jul 2021 02:32:31 GMT
  • Dependencies: @types/koa
  • Global values: none

Credits

These definitions were written by Tobias Wolff.

2.0.5

2 years ago

2.0.6

2 years ago

2.0.4

4 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago