Search results

469 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 ago3061 dependents licensed under $MIT
347,600,326

Minify URLs by converting them from absolute to relative.

published version 0.2.7, 9 years ago393 dependents licensed under $MIT
59,257,365

Damerau - Levenshtein distance by The Spanish Inquisition + relative distance

published version 1.0.8, 3 years ago560 dependents licensed under $BSD-2-Clause
74,075,650

Tests whether one path is inside another path

published version 1.0.2, 9 years ago453 dependents licensed under $(WTFPL OR MIT)
45,694,244

Resolve npm package details, like name and base path, given an absolute path to a file inside a package

published version 1.0.4, 2 months ago55 dependents licensed under $MIT
53,172,030

Enhance ESLint with better support for large scale monorepos

published version 1.11.0, 3 months ago759 dependents licensed under $MIT
45,345,390

Check if a URL is absolute

published version 4.0.1, 4 years ago433 dependents licensed under $MIT
41,549,971

A collection of implementation for ECMAScript abstract operations

published version 2.3.4, 3 months ago32 dependents licensed under $MIT
32,199,545

Use logical properties and values in CSS

published version 8.1.0, 4 months ago226 dependents licensed under $MIT-0
28,417,020

Webpack loader that resolves relative paths in url() statements based on the original source file

published version 5.0.0, 3 years ago3001 dependents licensed under $MIT
38,301,540

Returns `true` if the path appears to be relative.

published version 1.0.0, 8 years ago483 dependents licensed under $MIT
33,646,605

Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.

published version 1.0.0, 8 years ago469 dependents licensed under $MIT
32,946,628

Whether or not a given path is relative

published version 2.0.0, 8 years ago21 dependents licensed under $MIT
3,020,670

Get the relative filepath from path A to path B. Calculates from file-to-directory, file-to-file, directory-to-file, and directory-to-directory.

published version 3.0.2, 10 years ago197 dependents licensed under $MIT
1,818,078

require and resolve modules relative to a path of your choice

published version 0.8.7, 12 years ago154 dependents licensed under $MIT
4,632,351

Formats JavaScript dates to relative time strings.

published version 11.4.11, 3 months ago188 dependents licensed under $MIT
2,031,401

Build an absolute URL from a base URL and a relative URL (RFC 1808). No dependencies!

published version 2.2.5, 3 years ago86 dependents licensed under $Apache-2.0
1,990,204

Check if a URL is relative

published version 4.0.0, 3 years ago147 dependents licensed under $MIT
2,062,665

show seconds in a human-readable form

published version 0.0.2, 6 years ago55 dependents licensed under $MIT
1,155,058

Convert relative file system paths into safe URI paths

published version 1.0.0, 10 years ago26 dependents licensed under $WTFPL OR MIT
1,220,767