list-project-deps

module that searches npm and bower modules and attempts to compile and accurate list of what is actually being used

Usage no npm install needed!

<script type="module">
  import listProjectDeps from 'https://cdn.skypack.dev/list-project-deps';
</script>

README

This script is intended to show you what npm and bower modules you are actually using in your project in case your package.json and bower.json files are off.

list-deps

This was written to generate a file containing a list of installed npm and bower modules for a project. If your package.json or bower.json files become inaccurate you can run this to generate a file containing list of installed dependencies.

Install

npm install -g list-project-deps

Usage

list-deps

TODO

Currently a setTimeout is being used to delay the writing of the file in an effort to make sure the file operations are finished first. My eventual plan is to write this asynchronously.

License

MIT