Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/connect-livereload

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/connect-livereload

TypeScript definitions for connect-livereload

  • 0.5.32
  • ts3.6
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Installation

npm install --save @types/connect-livereload

Summary

This package contains type definitions for connect-livereload (https://github.com/intesso/connect-livereload).

Details

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

index.d.ts

// Type definitions for connect-livereload v0.5.3
// Project: https://github.com/intesso/connect-livereload
// Definitions by: Maxime LUCE <https://github.com/SomaticIT>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped


import { HandleFunction } from "connect";

declare function livereload(): HandleFunction;
declare function livereload(options: livereload.Options): HandleFunction;

declare namespace livereload {
    export type FileMatcher = string | RegExp;

    export interface Rule {
        match: RegExp;
        fn: (w: string, s: string) => string;
    }

    export interface Options {
        ignore?: FileMatcher[] | undefined;
        excludeList?: FileMatcher[] | undefined;

        include?: FileMatcher[] | undefined;
        html?: ((val: string) => boolean) | undefined;
        rules?: Rule[] | undefined;
        disableCompression?: boolean | undefined;

        hostname?: string | undefined;
        port?: number | undefined;
        src?: string | undefined;
    }
}

export = livereload;

Additional Details

  • Last updated: Thu, 08 Jul 2021 09:08:08 GMT
  • Dependencies: @types/connect
  • Global values: none

Credits

These definitions were written by Maxime LUCE.

FAQs

Package last updated on 08 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc