miniblog.
← Back to all posts
May 10, 2021 at 04:26
3
JS projects can accumulate a ton of dependencies, but TIL that npm can explain why you have them. `npm explain foo` or `npm why foo` shows the dependency path to foo. Super handy when you weren't expecting to depend on something.
Likes
Luís Oliveira
Jason
Adam Simpson
Related Posts
Jan 3, 2016 at 21:30
'Fold is better than looping because the loop is incidental' yes, but using lambda is incidental too! Perhaps an accumulate macro is better?