starve

5.0.0 • Public • Published

Starve

Travis (.com) GitHub code size in bytes GitHub repo size npm npm npm npm NPM npm GitHub last commit npm collaborators

Clean and remove unnecessary files and folders from node_modules

Why

Heaviest Objects In The Universe

The industry is moving towards serverless architecure, where the size of your package is very important for performance. This tool makes your lambda functions' packages significantly smaller.

What

starve is a very simple tool to remove unnecessary files and folders from node_modules, such as markdown, typescript source files, licenses etc.

Using

npx starve

How we decide what files to remove

We are running this command periodically to see unique file extension in node_modules, try removing unnecessary files and test each attempt.

find node_modules -type f | perl -ne 'print $1 if m/\.([^.\/]+)$/' | sort -u

Package Sidebar

Install

npm i starve

Weekly Downloads

20

Version

5.0.0

License

MIT

Unpacked Size

11.3 kB

Total Files

4

Last publish

Collaborators

  • 93v