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

@types/cypress-dotenv

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/cypress-dotenv

TypeScript definitions for cypress-dotenv

  • 2.0.1
  • ts4.3
  • ts4.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12K
increased by2.84%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/cypress-dotenv

Summary

This package contains type definitions for cypress-dotenv (https://github.com/morficus/cypress-dotenv).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cypress-dotenv.

index.d.ts

// Type definitions for cypress-dotenv 2.0
// Project: https://github.com/morficus/cypress-dotenv
// Definitions by: Daiki Ojima <https://github.com/daikiojm>
//                 Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { DotenvConfigOptions } from "dotenv";

// Cypress type
interface CypressConfig {
    [key: string]: any;
}

type EnhancedConfig<T extends CypressConfig> = T & {
    env?: {
        [key: string]: unknown;
    };
};

declare function dotenvPlugin<T extends CypressConfig>(
    cypressConfig: T,
    dotEnvConfig?: DotenvConfigOptions,
    all?: boolean,
): EnhancedConfig<T>;

export = dotenvPlugin;

Additional Details

  • Last updated: Mon, 04 Sep 2023 15:41:37 GMT
  • Dependencies: @types/dotenv
  • Global values: none

Credits

These definitions were written by Daiki Ojima, and Piotr Błażejewicz.

FAQs

Package last updated on 04 Sep 2023

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