# @types/mocha-phantomjs

> TypeScript definitions for mocha-phantomjs

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

## Install

```sh
npm install @types/mocha-phantomjs
pnpm add @types/mocha-phantomjs
yarn add @types/mocha-phantomjs
bun add @types/mocha-phantomjs
```

## Health

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

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.5.33 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

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

## Recent versions

- 3.5.33 (latest) — 2023-11-07
- 3.5.30 (ts3.6) — 2021-07-08
- 3.5.29 (ts3.0) — 2020-05-15
- 3.5.28 (ts2.0) — 2016-09-19
- 3.5.32 — 2023-10-18
- 3.5.31 — 2023-09-27
- 3.5.27 — 2016-07-14
- 3.5.26-alpha — 2016-07-08
- 3.5.25-alpha — 2016-07-04
- 3.5.24-alpha — 2016-07-02
- 3.5.23-alpha — 2016-07-01
- 3.5.22-alpha — 2016-07-01
- 3.5.21-alpha — 2016-05-25
- 3.5.20-alpha — 2016-05-20
- 3.5.15-alpha — 2016-05-19
- … 1 more at https://npm.io/package/@types/mocha-phantomjs/versions

## README

# Installation
> `npm install --save @types/mocha-phantomjs`

# Summary
This package contains type definitions for mocha-phantomjs (http://metaskills.net/mocha-phantomjs/).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mocha-phantomjs.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mocha-phantomjs/index.d.ts)
````ts
interface MochaPhantomJsWindowOptions extends Window {
    env: any;
    failures: number;
    ended: boolean;
    started: boolean;
    run(): void;
}

interface Window {
    mochaPhantomJS(): MochaPhantomJsWindowOptions;
}

interface MochaPhantomJSOptions {
    headers?: any;
    cookies?: any[] | undefined;
    viewportSize?: number | undefined;
    timeout?: number | undefined;
    file?: string | undefined;
}

interface MochaPhantomJS {
    url: string;
    columns: number;
    mochaStartWait: number;
    startTime: Date;
    output: any;

    run(): void;
    customizeMocha(options: MochaPhantomJSOptions): void;
}

declare var mochaPhantomJS: MochaPhantomJS;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Erik Schierboom](https://github.com/ErikSchierboom).

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