Del is a JavaScript package for deleting files and directories through glob patterns with both asynchronous and synchronous APIs. It supports multiple targets in a single operation and can exclude files or folders through negative glob patterns. The package protects the current working directory and parent locations from deletion unless force mode is explicitly enabled. A dry-run option reports what would be removed without changing the file system. Dotfile matching and other glob behavior can be customized through supported options. Deleted paths are returned to the caller, making it easy to log or inspect the result. It is useful for build scripts, cleanup tasks, generated assets, and other automated file-management workflows.

Features

  • Asynchronous and synchronous deletion APIs
  • Multiple file and directory targets
  • Glob and negative-glob support
  • Working-directory deletion protection
  • Dry-run deletion previews
  • Customizable dotfile and glob behavior

Project Samples

Project Activity

See All Activity >

Categories

File Managers

License

MIT License

Follow Del

Del Web Site

Other Useful Business Software
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Del!

Additional Project Details

Operating Systems

Windows

Programming Language

JavaScript

Related Categories

JavaScript File Managers

Registered

12 hours ago