npm.io
9.0.0 • Published 6 years agoCLI

gherkin

Licence
MIT
Version
9.0.0
Deps
3
Size
783 kB
Vulns
0
Weekly
0
Stars
79
DeprecatedThis package is deprecated

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

Keywords