is-local-path
JSON →This package, `is-local-path`, provides a utility function to determine if a given string represents a local file system path rather than a remote URL (like HTTP/HTTPS) or a data URI. It achieves this by checking for common remote path prefixes and data URI schemes. The current stable version is `0.1.6`, which was last updated approximately seven years ago (around 2017), indicating that the project is no longer actively maintained. Due to its age and lack of updates, it primarily supports CommonJS environments, and its path detection logic may not fully account for all modern path conventions, browser-specific path structures, or exotic URL schemes introduced since its last release. It serves as a straightforward, lightweight checker for basic local path identification, distinguishing common local paths (e.g., `/a/b`, `./c`, `../d`) from network or data paths.
Traffic · last 30 days ↑250% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇺🇦 Ukraine · 🇫🇷 France · 🇩🇪 Germany