Clear a module from the cache
☆183Nov 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. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Import a module while bypassing the cache☆285Feb 25, 2026Updated last month
- Sort an array of numbers☆18Sep 18, 2025Updated 6 months ago
- Delete Cached node_modules useful when you need to "un-require" during testing for a fresh state.☆152Oct 17, 2023Updated 2 years ago
- Get namespaced config from the closest package.json☆120Nov 5, 2023Updated 2 years ago
- Resolve the path of a module like require.resolve() but from a given path☆145Jan 23, 2021Updated 5 years ago
- Wordpress hosting with auto-scaling on Cloudways • AdFully Managed hosting built for WordPress-powered businesses that need reliable, auto-scalable hosting. Cloudways SafeUpdates now available.
- Get the path of the caller module☆67Oct 8, 2021Updated 4 years ago
- Alphabetically sort an array of strings☆40Apr 9, 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 a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Let a globally installed package use a locally installed version of itself if available☆154Jul 22, 2024Updated last year
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated 2 years ago
- Import a module lazily☆248Jul 11, 2022Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Jul 8, 2022Updated 3 years ago
- Wordpress hosting with auto-scaling on Cloudways • AdFully Managed hosting built for WordPress-powered businesses that need reliable, auto-scalable hosting. Cloudways SafeUpdates now available.
- Check if a string is email like☆25Nov 11, 2025Updated 4 months ago
- Find multiple RegExp matches in a string☆91Jul 8, 2022Updated 3 years ago
- Modify the source of an imported module☆28Jan 23, 2021Updated 5 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Check if it's the first time the process is run☆83Sep 12, 2025Updated 6 months ago
- Modify the values of an object☆28Sep 10, 2021Updated 4 years ago
- Clone and modify a RegExp instance☆24Jul 8, 2022Updated 3 years ago
- Check if an Array is sorted☆35Aug 11, 2021Updated 4 years ago
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting with the flexibility to host WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Cloudways by DigitalOcean.
- Get a stream as a string, Buffer, ArrayBuffer or array☆359Oct 28, 2024Updated last year
- ANSI escape codes for manipulating the terminal☆543Feb 4, 2026Updated 2 months ago
- Block users from running your app with root permissions☆99Aug 31, 2023Updated 2 years ago
- Split a string on the first occurrence of a given separator☆74Aug 20, 2025Updated 7 months ago
- Get the latest version of an npm package☆54Feb 27, 2024Updated 2 years ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Find mapcodes in a string☆26Jul 24, 2022Updated 3 years ago
- Hook and modify stdout and stderr☆57Sep 9, 2025Updated 7 months ago
- Check if stdout or stderr is interactive☆119Nov 6, 2023Updated 2 years ago
- Simple, predictable pricing with DigitalOcean hosting • AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- A viewport into a virtual grid of text cells☆13Dec 29, 2017Updated 8 years ago
- Get the system locale☆228Feb 4, 2026Updated 2 months ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆107Jul 8, 2022Updated 3 years ago
- Create a lazily evaluated value☆69Apr 8, 2021Updated 5 years ago
- Log the value/error of a promise☆29Apr 9, 2021Updated 5 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 10 months ago
- Check if a URL is absolute☆80Sep 13, 2025Updated 6 months ago