Inspecting packages
I’m slowly learning to inspect the source of the node packages I’m using in a project while debugging. I tend to treat node_modules
like a black box, which I think is intended, but it does help to peel off the lid and see how things are wired.
I had a package to which I was passing in all the right inputs, but I nested parts of the object wrong. Wouldn’t have caught it if I didn’t look at the package source.