import-fresh
npmv4.0.0TypeScriptImport a module while bypassing the cache
Overview
import-fresh is an npm package that import a module while bypassing the cache. The latest version is 4.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need import a module while bypassing the cache and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of import-fresh.
Dependencies
Dev (4)
Used by
Popular packages that depend on import-fresh.
Alternatives to import-fresh
Resolve the path of a module like `require.resolve()` but from a given path
Resolve the path of a module like `require.resolve()` but from the current working directory
resolve like require.resolve() on behalf of files asynchronously and synchronously
HTTP response freshness testing
Tomorrow's ECMAScript modules today!
Let a globally installed package use a locally installed version of itself if available
A lightweight cache for file metadata, ideal for processes that work on a specific set of files and only need to reprocess files that have changed since the last run
Get paths for storing things like data, config, cache, etc
Define a lazily evaluated property on an object
Support for `import <defer|source>` phase syntax in Acorn
Prepare a node environment to require files with different extensions.
Middleware to destroy caching
Frequently installed together
Get paths for storing things like data, config, cache, etc
Prettier is an opinionated code formatter
Next generation testing framework powered by Vite
An AST-based pattern checker for JavaScript.
Istanbul coverage provider for Vitest
Parse JSON with more helpful errors
TypeScript definitions for node
Version history
| Version | Published | License |
|---|---|---|
| 4.0.0latest | 4 months ago | MIT |
| 3.3.1 | 1 year ago | MIT |
| 3.3.0 | 5 years ago | MIT |
| 3.2.2 | 5 years ago | MIT |
| 3.2.1 | 6 years ago | MIT |
| 3.2.0 | 6 years ago | MIT |
| 3.1.0 | 7 years ago | MIT |
| 3.0.0 | 7 years ago | MIT |
| 2.0.0 | 9 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install import-fresh?
Run `npm install import-fresh` to add import-fresh to your npm project.
What license is import-fresh released under?
import-fresh is distributed under the MIT license.
How popular is import-fresh?
import-fresh has approximately 0 downloads per week and 2 known dependent packages.