dependency-shrinker

a command line tool to check what dependencies of an executable are really critical and not

Usage no npm install needed!

<script type="module">
  import dependencyShrinker from 'https://cdn.skypack.dev/dependency-shrinker';
</script>

README

logomakr_6rglby">

Build Status codecov npm GitHub license Maintenance Donate

Mission

a command line tool to check what dependencies of an executable are really critical and not

Installation

npm install dependency-shrinker -g

use

this command will list the runtime dependencies that can be possible removed (will only detect the ones that will cause a crash if removed).

depshrink <Path to executable> <boot time> [Paths to dependencies folders]

Warning

if you kill the process of the command line tool at any point of execution you might end up in a situation where a dependency is missing.

I will not take resposability on the issues generated by this package, so use at your own risk and make sure you backup all before using. And use with caution.

Logo

Arrows graphic by Stephen Hutchings from Flaticon is licensed under CC BY 3.0. Made with Logo Maker