@cucumber/tag-expressions
TypeScript icon, indicating that this package has built-in type declarations

6.1.0 • Public • Published

Cucumber Tag Expressions for JavaScript

Greenkeeper badge

The docs are here.

Example

import {TagExpressionParser} from '@cucumber/tag-expressions'
const parser = new TagExpressionParser()

const expressionNode = parser.parse('@tagA and @tagB')

expressionNode.evaluate(["@tagA", "@tagB"]) // => true
expressionNode.evaluate(["@tagA", "@tagC"]) // => false

/@cucumber/tag-expressions/

    Package Sidebar

    Install

    npm i @cucumber/tag-expressions

    Weekly Downloads

    1,153,202

    Version

    6.1.0

    License

    MIT

    Unpacked Size

    106 kB

    Total Files

    45

    Last publish

    Collaborators

    • davidjgoss
    • cukebot