gherkin

v9.0.0
Gherkin parser
gherkin cucumber

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(...)
npm i gherkin

Metadata

  • MIT
  • Whatever
  • Aslak Hellesøy
  • released 12/10/2019

Downloads