Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

@types/connect-history-api-fallback

Package Overview
Dependencies
2
Maintainers
1
Versions
6
Issues
File Explorer

Advanced tools

@types/connect-history-api-fallback

TypeScript definitions for connect-history-api-fallback

    1.3.5ts3.6ts3.7ts3.8ts3.9ts4.0ts4.1ts4.2ts4.3ts4.4ts4.5ts4.6ts4.7ts4.8ts4.9ts5.0latest

Version published
Maintainers
1
Weekly downloads
6,099,452
decreased by-16.33%

Weekly downloads

Readme

Source

Installation

npm install --save @types/connect-history-api-fallback

Summary

This package contains type definitions for connect-history-api-fallback (https://github.com/bripkens/connect-history-api-fallback#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect-history-api-fallback.

index.d.ts

// Type definitions for connect-history-api-fallback 1.3 // Project: https://github.com/bripkens/connect-history-api-fallback#readme // Definitions by: Douglas Duteil <https://github.com/douglasduteil> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 /// <reference types="node" /> import { Url } from 'url'; import * as core from "express-serve-static-core"; export = historyApiFallback; declare function historyApiFallback(options?: historyApiFallback.Options): core.RequestHandler; declare namespace historyApiFallback { interface Options { readonly disableDotRule?: true | undefined; readonly htmlAcceptHeaders?: ReadonlyArray<string> | undefined; readonly index?: string | undefined; readonly logger?: typeof console.log | undefined; readonly rewrites?: ReadonlyArray<Rewrite> | undefined; readonly verbose?: boolean | undefined; } interface Context { readonly match: RegExpMatchArray; readonly parsedUrl: Url; } type RewriteTo = (context: Context) => string; interface Rewrite { readonly from: RegExp; readonly to: string | RegExp | RewriteTo; } }

Additional Details

Credits

These definitions were written by Douglas Duteil.

FAQs

What is @types/connect-history-api-fallback?

TypeScript definitions for connect-history-api-fallback

Is @types/connect-history-api-fallback popular?

The npm package @types/connect-history-api-fallback receives a total of 4,927,734 weekly downloads. As such, @types/connect-history-api-fallback popularity was classified as popular.

Is @types/connect-history-api-fallback well maintained?

We found that @types/connect-history-api-fallback demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 06 Jul 2021

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc