Detalhes do pacote

gherkin

cucumber3mMITdepreciado9.0.0

This package is now published under @cucumber/gherkin

Gherkin parser

gherkin, cucumber

readme (leia-me)

Build Status

Gherkin parser/compiler for JavaScript. Please see Gherkin for details.

Usage

const gherkin = require('gherkin')

const options = {
  includeSource: true,
  includeGherkinDocument: true,
  includePickles: true,
}
const stream = gherkin.fromPaths(['features/hello.feature'])

// Pipe the stream to another stream that can read messages.
stream.pipe(...)