Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

cruft

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cruft

Delete cruft from npm packages

Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
11
266.67%
Maintainers
1
Weekly downloads
 
Created
Source

cruft

Package cruft removal.

This tries to remove files from codebases that are not required in production (e.g. docs, tests, examples).

Primary use case is deploying on devices that may not have a lot of disk space or access to decent bandwidth (e.g. Australia).

Default Cruft

By default, the following content will be removed. This is potentially dangerous.

  • example
  • examples
  • test
  • tests
  • doc
  • man

Updates to this readme will change these defaults.

Cruft Found

This is a list of npm packages and their cruft if a package is found in this list when cruft is run, any listed content will be removed.

Entries starting with a bang will not be removed. e.g. override defaults in the case they remove something they should not.

Updates to this readme will change these values.

hawk

  • images

boom

  • images

ansi

  • !examples

Keywords

npm

FAQs

Package last updated on 24 Jun 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts