Skip to content

docs: remove stale DEBUG_NOPT / NOPT_DEBUG references from README #198

Closed

Description

@owlstronaut

After #197 lands, the in-repo lib/debug.js shim is removed and the DEBUG_NOPT / NOPT_DEBUG environment variables no longer do anything. The README still documents them:

https://github.com/npm/nopt/blob/main/README.md#L144

By default nopt logs debug messages if DEBUG_NOPT or NOPT_DEBUG are set in the environment.

This sentence (and any surrounding context referring to debug logging) should be removed so the docs match runtime behavior.

Suggested change

Delete the line in README.md that mentions DEBUG_NOPT / NOPT_DEBUG. No code changes needed.

How to verify

grep -n "DEBUG_NOPT\|NOPT_DEBUG" README.md
# should print nothing after the fix

Follow-up to #197.

Activity

  1. added
    Good First Issue
    on May 8, 2026
  2. added a commit that references this issue on Jun 4, 2026
    103a413
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First Issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions