Listing npm packages without dependencies

I have written a short gist on how to create a bash function to filter out npm package dependencies when using `npm ls`. This function, when placed in .bash_profile can then be treated as a bash command. This is really helpful when you have lots npm packages installed, or those packages have lots of dependencies.

Leave a Reply

Your email address will not be published. Required fields are marked *