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

@types/cypress-cucumber-preprocessor

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/cypress-cucumber-preprocessor

TypeScript definitions for cypress-cucumber-preprocessor

  • 4.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
71K
increased by6.3%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/cypress-cucumber-preprocessor

Summary

This package contains type definitions for cypress-cucumber-preprocessor (https://github.com/TheBrainFamily/cypress-cucumber-preprocessor).

Details

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

index.d.ts

export default function preprocessor(options?: any): (file: any) => Promise<string>;

/**
 * @returns NodeJS.ReadableStream
 */
export function transform(file: any): any;

export interface TableDefinition {
    /** Returns the table as a 2-D array. */
    raw(): string[][];

    /** Returns the table as a 2-D array, without the first row. */
    rows(): string[][];

    /** Returns an object where each row corresponds to an entry (first column is the key, second column is the value). */
    rowsHash(): { [firstCol: string]: string };

    /** Returns an array of objects where each row is converted to an object (column header is the key). */
    hashes(): Array<{ [colName: string]: string }>;
}

Additional Details

  • Last updated: Wed, 18 Oct 2023 00:05:18 GMT
  • Dependencies: none

Credits

These definitions were written by Alec Brunelle, Falcon Taylor-Carter, Jens Peters, and Aaron Aichlmayr.

FAQs

Package last updated on 18 Oct 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