Search results

17 packages found

Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.

published version 3.0.0, 7 years ago2963 dependents licensed under $MIT
232,797,916

Detects if a file exists and returns the resolved filepath.

published version 1.0.0, 8 years ago226 dependents licensed under $MIT
21,508,475

Remove leading directory components from a path, like tar's --strip-components option

published version 3.0.0, 6 years ago54 dependents licensed under $ISC
13,023,500

vfile utility to read and write to the file system

published version 8.0.0, 2 years ago172 dependents licensed under $MIT
1,066,605

Change the file extension of a path

published version 1.0.0, 6 months ago2 dependents licensed under $MIT
395,393

Recursively read directories and return a list of files, filtered to have only the files for which the (optional) filter function returns `true`. Sync and async.

published version 0.4.0, 10 years ago20 dependents
13,701

File paths library. All you need to work with paths. Tiny drop-in replacement for 'path'. Works in Node, Browser, and Deno.

published version 0.4.1, 2 years ago0 dependents licensed under $Apache-2.0
448

Remove leading directory components from a path!

published version 1.0.1, a year ago1 dependents
91

Terra File Path is a horizontal menu that indicates where the user is. It is also more commonly known as a breadcrumb component.

published version 1.22.1, 9 months ago1 dependents licensed under $Apache-2.0
75

remark-lint rule to warn when a link to another markdown document (md/mdx) is not a relative file path with extension

published version 0.1.1, 2 years ago0 dependents licensed under $MIT
44

Read file or directory into vfile.

published version 1.3.8, 5 years ago0 dependents licensed under $MIT
34

Functions for fantastically fast file filtering, and more things that start with 'f'.

published version 0.1.2, 10 years ago0 dependents
29

file path utils for the browser and node.js

published version 0.0.4, 8 years ago8 dependents licensed under $MIT
24

Resolves path to a file in a Node Js when we require a file.

published version 1.0.2, 8 years ago0 dependents licensed under $MIT
27

Filter files by the given extension.

published version 0.1.1, 10 years ago0 dependents
7

A small module that helps extract the path of a certain route in hyper-express.

published version 1.0.1, 2 years ago2 dependents licensed under $MIT
7

Return a file path relative to a given file

published version 1.0.1, a year ago0 dependents licensed under $MIT
7