sindresorhus / is-directory-emptyLinks
Check if a directory is empty
☆30Updated last year
Alternatives and similar repositories for is-directory-empty
Users that are interested in is-directory-empty are comparing it to the libraries listed below
Sorting:
- Check if the system is in low power mode☆68Updated last year
- Rotate an array by a given number of steps☆46Updated last year
- Find a file or directory by walking up parent directories — Zero dependencies☆80Updated 5 months ago
- Check if a string is a valid JavaScript identifier☆26Updated last year
- A collection of common interactive command line user interfaces.☆17Updated last year
- Remove circular references from objects☆98Updated last year
- Convert a string to a valid JavaScript identifier☆42Updated 3 weeks ago
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆164Updated last year
- Useful utilities for working with Fetch☆94Updated last week
- Provides a list of reserved identifiers for JavaScript☆23Updated 2 weeks ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆222Updated 2 months ago
- Extracts the repo URL from a package.json object☆28Updated 4 months ago
- Encode & decode strings, bytes, and integers to Base62☆91Updated last month
- Check if the operating system CPU architecture is 64-bit or 32-bit (Supports browsers)☆47Updated last year
- Get a random temporary path☆33Updated 2 years ago
- Check if the process is running in a Continuous Integration (CI) environment☆35Updated 2 months ago
- Create a multicast stream that lets multiple consumers independently read the same data☆182Updated 4 months ago
- Capture screenshots programmatically. Cross-platform, with support for MacOS (Darwin), Windows, and Linux.☆43Updated 3 months ago
- Merge multiple streams into a unified stream☆59Updated last year
- Change the file extension of a path☆38Updated last year
- Convert a string index to its line and column position☆35Updated last month
- Resolve values based on a JSON schema. Supports conditionals and composition. Useful for configuration, preferences, LLM chat completions…☆13Updated 6 months ago
- A high-performance wrapper around Intl.Segmenter for efficient text segmentation. This class resolves memory handling issues seen with la…☆17Updated 6 months ago
- Async mutex lock for managing access to a shared resource☆137Updated 4 months ago
- Remark plugin for adding a custom ID attribute to Markdown headers☆42Updated last year
- Check whether a file can be executed☆45Updated 2 years ago
- Socket.dev optimized 📦 overrides✨☆33Updated this week
- Regular expression for matching JavaScript identifiers☆15Updated last month
- Tiny terminal spinner☆275Updated last month
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆156Updated 3 weeks ago