Skip to content

docs: document parse fast option instead of removed debug - #1083

Open
ragib-mrb wants to merge 1 commit into
motdotla:masterfrom
ragib-mrb:docs/parse-fast-option
Open

ragib-mrb wants to merge 1 commit into
motdotla:masterfrom
ragib-mrb:docs/parse-fast-option

Conversation

@ragib-mrb

Copy link
Copy Markdown

The Parse section of the README documents a debug option, but parse() ignores it and never logs anything. The only option it reads now is fast (lib/main.js, and DotenvParseOptions in main.d.ts). This replaces the debug entry with fast and a small example.

Checked that parse(buf, { debug: true }) prints nothing and that the new example returns { BASIC: 'basic' }.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant