28 Open Source Filepath Software Projects
Free and open source filepath code projects including engines, APIs, generators, and tools.
Normalize Path 84 ⭐
Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!
Parse Filepath 28 ⭐
Parse a filepath and return an object of path parts. Falls back on native node.js `path.parse` if it exists
Is Valid Glob 21 ⭐
Return true if a value is a valid glob pattern string, or array of glob patterns.
Is Relative 13 ⭐
Returns `true` if a file path appears to be relative. Moved from the "relative" lib.
Npm Paths 13 ⭐
Add Filename Increment 19 ⭐
When copying or moving files, it's common for operating systems to automatically add an increment or 'copy' to duplicate file names. This does that for Node.js applications, with automatic platform detection and support for Linux, MacOs, and Windows conventions.
Detect File 12 ⭐
Uses a breadth-first search, when necessary, to resolve the file path using the correct casing, and verify that the file actually exists. Returns consistent results regardless of case sensitivity of the file path and/or operating system.
Find Pkg 11 ⭐
Find the first directory with a package.json, recursing up, starting with the given directory. Similar to look-up but does not support globs and only searches for package.json. Async and sync.
Fileoperator 580 ⭐