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

    4.0.2 • 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

    Keywords

    Install

    npm i @cucumber/tag-expressions

    DownloadsWeekly Downloads

    160,294

    Version

    4.0.2

    License

    MIT

    Unpacked Size

    62.8 kB

    Total Files

    24

    Last publish

    Collaborators

    • aslakhellesoy
    • cukebot