Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More noob-friendly lead paragraph #340

Closed
dandv opened this issue Dec 7, 2016 · 1 comment
Closed

More noob-friendly lead paragraph #340

dandv opened this issue Dec 7, 2016 · 1 comment

Comments

@dandv
Copy link

dandv commented Dec 7, 2016

With debug you simply invoke the exported function to generate your debug function, passing it a name which will determine if a noop function is returned, or a decorated console.error, so all of the console format string goodies you're used to work fine. A unique color is selected per-function for visibility.

This made me go "huh?" and I had to parse it several times to understand what's going on. Given how popular this module is, a less abrupt first paragraph would be great.

@thebigredgeek
Copy link
Contributor

@dandv would you like to put in a pull request?

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

No branches or pull requests

2 participants