awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
tj avatar

tj/node-prune

0
View on GitHub↗
4,429 stars·132 forks·Go·MIT·19 views

Node Prune

node-prune is a utility for cleaning and shrinking Node.js dependency folders by removing source files and documentation not required for runtime execution. It functions as a package cleaner that deletes non-essential files, such as markdown and TypeScript files, from installed npm dependencies to reduce installation size.

The tool optimizes deployment artifacts and container images by stripping unnecessary files from third-party library directories. This process is used to minimize Docker image sizes and reduce the footprint of final application bundles.

The project provides a command-line interface to automate the pruning of dependency directories. It leverages recursive directory traversal and pattern-based filtering to identify and remove non-runtime files.

Features

  • Vendor Directory Pruning - Provides a CLI utility to remove non-essential files and source code from dependency directories.
  • Node.js Dependency Pruners - Functions as a tool to remove non-essential source files and documentation from node_modules to reduce size.
  • Runtime Footprint Optimizers - Shrinks the size of node_modules directories by removing files not required for runtime execution.
  • npm Package Cleaners - Deletes markdown and TypeScript files from installed npm dependencies to save disk space.
  • Pattern-Based File Deletions - Identifies non-runtime files for deletion by matching names and extensions against predefined patterns.
  • Node Modules Optimizations - Removes non-runtime files from dependency folders to reduce disk space and installation size.
  • Recursive Directory Traversers - Recursively walks through the nested folder structure of node_modules to locate all files for evaluation.
  • Artifact Size Optimization - Speeds up deployment pipelines by pruning dependency directories before uploading artifacts.
  • Dependency Stripping - Reduces the size of container images by stripping unnecessary documentation and source files from node_modules.
  • Deployment Bundle Reduction - Shrinks the final application bundle by removing non-essential files from third-party library directories.
  • 前端自动化(Workflow) - Listed in the “前端自动化(Workflow)” section of the Awesome Frontend awesome list.

Star history

Star history chart for tj/node-pruneStar history chart for tj/node-prune

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Node Prune

Similar open-source projects, ranked by how many features they share with Node Prune.
  • isaacs/rimrafisaacs avatar

    isaacs/rimraf

    5,846View on GitHub↗

    rimraf is a Node.js recursive file deletion tool and cross-platform filesystem utility. It provides both a programmatic library and a command-line interface for removing files and directories and all of their contained contents across different operating systems. The utility supports glob-based file deletion, allowing the removal of items that match specific wildcard patterns rather than just literal paths. It also includes the ability to abort deletion processes mid-execution and apply custom predicate-based filtering to exclude specific files or folders. The project covers broad filesystem

    TypeScript
    View on GitHub↗5,846
  • athityakumar/colorlsathityakumar avatar

    athityakumar/colorls

    5,123View on GitHub↗

    colorls is a Ruby-based terminal directory visualizer that displays file system contents using colors, Font Awesome icons, and Git status indicators. It functions as a command line interface for rendering directory contents and nested file system hierarchies in both list and tree formats. The project features a customizable theme engine that allows users to override default colors and unicode icons via external configuration files. It integrates with version control to append the status of files and folders directly within the terminal listing. The tool provides capabilities for directory hi

    Rubyclicoloreye-candy
    View on GitHub↗5,123
  • bee-san/pywhatbee-san avatar

    bee-san/pyWhat

    7,150View on GitHub↗

    pyWhat is a Python-based data extraction tool designed to scan files and text for sensitive identifiers, credentials, and network artifacts using regular expressions. It functions as a pattern matching engine and PII scanner capable of identifying personal identifiers and sensitive data patterns across directories and binary files. The project specializes in the identification of unknown data formats through file signatures and the extraction of high-value identifiers, such as URLs, IP addresses, and phone numbers, from network capture files. It utilizes a rarity-based filtering system and sp

    Pythoncybercybersecurityhacking
    View on GitHub↗7,150
  • bootandy/dustbootandy avatar

    bootandy/dust

    11,843View on GitHub↗

    Dust is a command line disk usage analyzer written in Rust. It functions as a disk space visualization tool and recursive directory size scanner used to identify large files and directories through a formatted list of disk consumption across a filesystem. The tool differentiates itself by providing a recursive tree view to visualize space distribution and the ability to output directory and file size data in machine-readable formats for external processing and analysis. Its broader capabilities include filesystem auditing and storage capacity management. This is achieved through file and dir

    Rust
    View on GitHub↗11,843
See all 30 alternatives to Node Prune→

Frequently asked questions

What does tj/node-prune do?

node-prune is a utility for cleaning and shrinking Node.js dependency folders by removing source files and documentation not required for runtime execution. It functions as a package cleaner that deletes non-essential files, such as markdown and TypeScript files, from installed npm dependencies to reduce installation size.

What are the main features of tj/node-prune?

The main features of tj/node-prune are: Vendor Directory Pruning, Node.js Dependency Pruners, Runtime Footprint Optimizers, npm Package Cleaners, Pattern-Based File Deletions, Node Modules Optimizations, Recursive Directory Traversers, Artifact Size Optimization.

What are some open-source alternatives to tj/node-prune?

Open-source alternatives to tj/node-prune include: isaacs/rimraf — rimraf is a Node.js recursive file deletion tool and cross-platform filesystem utility. It provides both a… athityakumar/colorls — colorls is a Ruby-based terminal directory visualizer that displays file system contents using colors, Font Awesome… chyingp/nodejs-learning-guide — This project is a learning guide and collection of study notes designed to teach Node.js backend development. It… bee-san/pywhat — pyWhat is a Python-based data extraction tool designed to scan files and text for sensitive identifiers, credentials,… bootandy/dust — Dust is a command line disk usage analyzer written in Rust. It functions as a disk space visualization tool and… direnv/direnv — direnv is a shell environment manager and directory-based environment loader that automatically loads and unloads…