Skip to content

Scorecard- Node.js Version: Missing #2

@chrobione

Description

@chrobione

Minimum Node.js version
Requirements
Within the engines section of the package.json file you SHOULD declare the minimum version of Node that your package works on. This SHOULD satisfy the current minimum supported version of the latest Node-RED release.

           {
             "engines": {
               "node": ">=12.0.0"
             }
           }

Reason
Node-RED has supported multiple versions of Node in its history and some of these have become end of life, this helps users identify if a node will run on their installation.

Reference
https://docs.npmjs.com/cli/v7/configuring-npm/package-json#engines

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions