# gherkin

> Gherkin parser

Latest version **9.0.0** (published 2019-12-10) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install gherkin
pnpm add gherkin
yarn add gherkin
bun add gherkin
```

Provides the command `gherkin-javascript`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 9.0.0 |
| Published | 2019-12-10 |
| First published | 2011-04-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 783 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 79 |
| Author | Aslak Hellesøy |
| Maintainers | aslakhellesoy, beepdog, cukebot, os97673 |
| Keywords | gherkin, cucumber |

## Links

- npm: https://www.npmjs.com/package/gherkin
- Repository: https://github.com/cucumber/gherkin-javascript
- Issues: https://github.com/cucumber/cucumber/issues
- npm.io page: https://npm.io/package/gherkin

## Dependencies (3)

- [commander](https://npm.io/package/commander.md) ^4.0.1
- [cucumber-messages](https://npm.io/package/cucumber-messages.md) 8.0.0
- [source-map-support](https://npm.io/package/source-map-support.md) ^0.5.16

## Recent versions

- 9.0.0 (latest) — 2019-12-10
- 8.2.1 — 2019-11-22
- 8.2.0 — 2019-11-14
- 8.1.1 — 2019-10-17
- 8.0.0 — 2019-10-03
- 7.0.4 — 2019-08-29
- 7.0.3 — 2019-08-15
- 7.0.2 — 2019-08-14
- 7.0.1 — 2019-08-14
- 6.0.17 — 2019-03-31
- 6.0.16 — 2019-03-30
- 6.0.15 — 2018-11-01
- 6.0.14 — 2018-09-30
- 6.0.13 — 2018-09-26
- 6.0.12 — 2018-09-25
- … 83 more at https://npm.io/package/gherkin/versions

## README

[![Build Status](https://secure.travis-ci.org/cucumber/gherkin-javascript.svg)](http://travis-ci.org/cucumber/gherkin-javascript)

Gherkin parser/compiler for JavaScript. Please see [Gherkin](https://github.com/cucumber/cucumber/tree/master/gherkin) for details.

## Usage

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

---
_Source: https://npm.io/package/gherkin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
