Search results

455 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 ago2924 dependents licensed under $MIT
264,290,161

Tests whether one path is inside another path

published version 1.0.2, 8 years ago453 dependents licensed under $(WTFPL OR MIT)
43,571,595

Enhance ESLint with better support for large scale monorepos

published version 1.10.4, 4 months ago789 dependents licensed under $MIT
36,279,903

Check if a URL is absolute

published version 4.0.1, 3 years ago433 dependents licensed under $MIT
44,204,763

Minify URLs by converting them from absolute to relative.

published version 0.2.7, 8 years ago378 dependents licensed under $MIT
50,647,962

Extract the Node.js module details like name and base path given an abosulte path to a file inside the module

published version 1.0.3, 8 years ago52 dependents licensed under $MIT
36,840,545

Damerau - Levenshtein distance by The Spanish Inquisition + relative distance

published version 1.0.8, 3 years ago557 dependents licensed under $BSD-2-Clause
61,321,400

A collection of implementation for ECMAScript abstract operations

published version 2.2.4, 10 days ago29 dependents licensed under $MIT
23,433,049

Use logical properties and values in CSS

published version 8.0.0, 4 months ago225 dependents licensed under $MIT-0
23,099,026

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

published version 5.0.0, 3 years ago2984 dependents licensed under $MIT
31,669,487

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

published version 1.0.0, 7 years ago457 dependents licensed under $MIT
29,412,178

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, 7 years ago442 dependents licensed under $MIT
27,944,297

Whether or not a given path is relative

published version 2.0.0, 7 years ago20 dependents licensed under $MIT
2,656,941

require and resolve modules relative to a path of your choice

published version 0.8.7, 11 years ago156 dependents licensed under $MIT
5,464,480

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, 9 years ago198 dependents licensed under $MIT
1,589,643

Check if a URL is relative

published version 4.0.0, 2 years ago146 dependents licensed under $MIT
1,964,039

Localized relative date/time formatting

published version 2.5.11, 3 months ago237 dependents licensed under $MIT
1,894,231

A convenient Intl.RelativeTimeFormat polyfill

published version 1.1.6, 2 years ago3 dependents licensed under $MIT
1,895,850

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,996,758

Formats JavaScript dates to relative time strings.

published version 11.4.5, 10 days ago183 dependents licensed under $MIT
1,783,733