# @types/gulp-live-server

> TypeScript definitions for gulp-live-server

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

## Install

```sh
npm install @types/gulp-live-server
pnpm add @types/gulp-live-server
yarn add @types/gulp-live-server
bun add @types/gulp-live-server
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2023-11-07 |
| First published | 2022-10-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51419 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 0.0.3 (latest) — 2023-11-07
- 0.0.0 (ts4.1) — 2022-10-20
- 0.0.2 — 2023-10-18
- 0.0.1 — 2023-09-20

## README

# Installation
> `npm install --save @types/gulp-live-server`

# Summary
This package contains type definitions for gulp-live-server (https://github.com/gimm/gulp-live-server).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-live-server.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-live-server/index.d.ts)
````ts
import type { spawn } from "child_process";
import type { Application, Handler } from "express";
import type { createServer } from "https";

declare namespace gls {
    interface LivereloadParams {
        livereload?: string;
        port?: number;
        errorListener?: (error: Error) => void;
        handler?: Handler;
        app?: Application;
        key?: NonNullable<Parameters<typeof createServer>[0]>["key"];
        cert?: NonNullable<Parameters<typeof createServer>[0]>["cert"];
        pfx?: NonNullable<Parameters<typeof createServer>[0]>["pfx"];
        liveCSS?: boolean;
        liveImg?: boolean;
        prefix?: boolean;
        dashboard?: boolean;
    }
    type Livereload = boolean | number | LivereloadParams;

    interface GLSStatic {
        start: (execPath?: string) => void;
        notify: (event: { path: string }) => void;
        stop: () => void;
        static: (folder: string, port?: number) => GLSStatic;
        new: (script: string) => GLSStatic;
    }

    type GLS = {
        (args: Parameters<typeof spawn>[1], options?: Parameters<typeof spawn>[2], livereload?: Livereload): GLSStatic;
    } & GLSStatic;
}

declare var gls: gls.GLS;
export = gls;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@types/express](https://npmjs.com/package/@types/express)

# Credits
These definitions were written by .

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