Tell users what line really matters in the stack trace.
npm install context-error
var ContextError = require("context-error");throw ContextError("You've Done Something Wrong", 2);
Returns an error ready to be thrown
Selectively mirror the npm registry inside your firewall. Filter packages based on security, licensing, code quality and more. Build awesome stuff faster. Try npm Enterprise for free…
how? learn more