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 ago3051 dependents licensed under $MIT
315,166,245

Minify URLs by converting them from absolute to relative.

published version 0.2.7, 9 years ago390 dependents licensed under $MIT
55,023,552

Enhance ESLint with better support for large scale monorepos

published version 1.11.0, 3 months ago762 dependents licensed under $MIT
43,013,826

Tests whether one path is inside another path

published version 1.0.2, 9 years ago453 dependents licensed under $(WTFPL OR MIT)
41,527,306

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

published version 1.0.4, a month ago55 dependents licensed under $MIT
50,844,106

Damerau - Levenshtein distance by The Spanish Inquisition + relative distance

published version 1.0.8, 3 years ago559 dependents licensed under $BSD-2-Clause
69,160,031

A collection of implementation for ECMAScript abstract operations

published version 2.3.4, 3 months ago33 dependents licensed under $MIT
30,959,723

Check if a URL is absolute

published version 4.0.1, 4 years ago433 dependents licensed under $MIT
37,088,433

Use logical properties and values in CSS

published version 8.1.0, 4 months ago226 dependents licensed under $MIT-0
26,235,477

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

published version 5.0.0, 3 years ago2998 dependents licensed under $MIT
36,100,192

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

published version 1.0.0, 8 years ago478 dependents licensed under $MIT
31,347,457

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 ago464 dependents licensed under $MIT
31,828,802

Whether or not a given path is relative

published version 2.0.0, 8 years ago21 dependents licensed under $MIT
2,843,440

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,768,789

require and resolve modules relative to a path of your choice

published version 0.8.7, 11 years ago154 dependents licensed under $MIT
4,315,688

Formats JavaScript dates to relative time strings.

published version 11.4.11, 3 months ago187 dependents licensed under $MIT
1,947,418

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,877,279

Check if a URL is relative

published version 4.0.0, 3 years ago147 dependents licensed under $MIT
1,921,410

show seconds in a human-readable form

published version 0.0.2, 6 years ago55 dependents licensed under $MIT
1,034,475

Convert relative file system paths into safe URI paths

published version 1.0.0, 10 years ago26 dependents licensed under $WTFPL OR MIT
1,113,855