Socket
Socket
Sign inDemoInstall

@types/karma-detect-browsers

Package Overview
Dependencies
14
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @types/karma-detect-browsers

TypeScript definitions for karma-detect-browsers


Version published
Weekly downloads
675
decreased by-5.73%
Maintainers
1
Install size
2.54 MB
Created
Weekly downloads
 

Readme

Source

Installation

npm install --save @types/karma-detect-browsers

Summary

This package contains type definitions for karma-detect-browsers (https://github.com/litixsoft/karma-detect-browsers).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-detect-browsers.

index.d.ts

import "karma";

declare module "karma" {
    interface ConfigOptions {
        /**
         * See https://github.com/karma-runner/karma-coverage/blob/master/docs/configuration.md
         */
        detectBrowsers?: KarmaDetectBrowsers | undefined;
    }

    interface KarmaDetectBrowsers {
        /** enable/disable, default is true */
        enabled?: boolean | undefined;
        /** enable/disable phantomjs support, default is true */
        usePhantomJS?: boolean | undefined;
        /** use headless mode, for browsers that support it, default is false */
        preferHeadless?: boolean | undefined;
        /**
         * post processing of browsers list
         * here you can edit the list of browsers used by karma
         */
        postDetection: (availableBrowsers: string[]) => string[];
    }
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/karma

Credits

These definitions were written by Piotr Błażejewicz.

FAQs

Last updated on 07 Nov 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc