Gherkin parser/compiler for JavaScript

README.md

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(...)