SysProM
    Preparing search index...

    Function getFeature

    • Get a specific feature by number or name. Matches "001", "001-feature-name", or "feature-name".

      Parameters

      • project: SpecKitProject

        The detected project.

      • idOrName: string

        Feature ID, number, or name.

      Returns SpecKitFeature | null

      The matching feature, or null.

      const feature = getFeature(project, "001-auth");