tapjs / stack-utils

Captures and cleans stack traces.

Home Page:https://www.npmjs.com/package/stack-utils

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simplify cleaning up immediate dependencies

sindresorhus opened this issue · comments

I was thinking, is there any way we could simplify this even more? Maybe add an option that accepts immediate module names, so you could just supply ignoredPackages: ['tap'] instead of having the regex? That would cover the most common use-case.