Clear a module from the cache
☆184Nov 3, 2021Updated 4 years ago
Alternatives and similar repositories for clear-module
Users that are interested in clear-module are comparing it to the libraries listed below
Sorting:
- Import a module while bypassing the cache☆287Feb 2, 2025Updated last year
- Sort an array of numbers☆18Sep 18, 2025Updated 5 months ago
- Resolve the path of a module like require.resolve() but from a given path☆145Jan 23, 2021Updated 5 years ago
- Get namespaced config from the closest package.json☆121Nov 5, 2023Updated 2 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Get the path of the caller module☆67Oct 8, 2021Updated 4 years ago
- Let a globally installed package use a locally installed version of itself if available☆155Jul 22, 2024Updated last year
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Modify the source of an imported module☆28Jan 23, 2021Updated 5 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Check if an Array is sorted☆35Aug 11, 2021Updated 4 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Jul 8, 2022Updated 3 years ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 4 years ago
- Split a string on the first occurrence of a given separator☆75Aug 20, 2025Updated 6 months ago
- Block users from running your app with root permissions☆100Aug 31, 2023Updated 2 years ago
- ANSI escape codes for manipulating the terminal☆540Feb 4, 2026Updated 3 weeks ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Check if a string is email like☆25Nov 11, 2025Updated 3 months ago
- Import a module lazily☆249Jul 11, 2022Updated 3 years ago
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- Check if it's the first time the process is run☆83Sep 12, 2025Updated 5 months ago
- Clone and modify a RegExp instance☆24Jul 8, 2022Updated 3 years ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Hook and modify stdout and stderr☆57Sep 9, 2025Updated 5 months ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆107Jul 8, 2022Updated 3 years ago
- Find multiple RegExp matches in a string☆91Jul 8, 2022Updated 3 years ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆359Oct 28, 2024Updated last year
- Get the system locale☆228Feb 4, 2026Updated 3 weeks ago
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Check if a URL is absolute☆80Sep 13, 2025Updated 5 months ago
- Check if something is a promise☆45Apr 16, 2021Updated 4 years ago
- Create a lazily evaluated value☆69Apr 8, 2021Updated 4 years ago
- Run promise-returning & async functions in series☆71Aug 12, 2021Updated 4 years ago
- Make unhandled promise rejections fail loudly instead of the default silent fail☆282Jan 24, 2021Updated 5 years ago
- Elegant spinner for interactive CLI apps☆226Sep 7, 2021Updated 4 years ago
- Log the value/error of a promise☆29Apr 9, 2021Updated 4 years ago
- Get an available TCP port☆928Sep 10, 2025Updated 5 months ago
- Get the latest version of an npm package☆54Feb 27, 2024Updated 2 years ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆148Sep 9, 2025Updated 5 months ago