Search results

462 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 ago3002 dependents licensed under $MIT
291,653,006

Minify URLs by converting them from absolute to relative.

published version 0.2.7, 9 years ago387 dependents licensed under $MIT
51,541,243

Enhance ESLint with better support for large scale monorepos

published version 1.11.0, 2 months ago766 dependents licensed under $MIT
42,304,013

Tests whether one path is inside another path

published version 1.0.2, 9 years ago452 dependents licensed under $(WTFPL OR MIT)
38,235,412

Damerau - Levenshtein distance by The Spanish Inquisition + relative distance

published version 1.0.8, 3 years ago557 dependents licensed under $BSD-2-Clause
66,351,482

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

published version 1.0.4, 8 days ago54 dependents licensed under $MIT
47,560,689

A collection of implementation for ECMAScript abstract operations

published version 2.3.4, a month ago31 dependents licensed under $MIT
29,552,531

Check if a URL is absolute

published version 4.0.1, 4 years ago437 dependents licensed under $MIT
33,862,635

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 ago463 dependents licensed under $MIT
29,280,192

Use logical properties and values in CSS

published version 8.1.0, 2 months ago224 dependents licensed under $MIT-0
24,132,881

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

published version 5.0.0, 3 years ago2992 dependents licensed under $MIT
33,906,800

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

published version 1.0.0, 8 years ago475 dependents licensed under $MIT
28,559,406

Whether or not a given path is relative

published version 2.0.0, 8 years ago21 dependents licensed under $MIT
2,627,897

require and resolve modules relative to a path of your choice

published version 0.8.7, 11 years ago154 dependents licensed under $MIT
4,269,489

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 ago197 dependents licensed under $MIT
1,663,023

Check if a URL is relative

published version 4.0.0, 3 years ago147 dependents licensed under $MIT
1,780,241

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,886,773

Formats JavaScript dates to relative time strings.

published version 11.4.11, a month ago187 dependents licensed under $MIT
1,869,630

A convenient Intl.RelativeTimeFormat polyfill

published version 1.1.6, 3 years ago3 dependents licensed under $MIT
1,050,188

show seconds in a human-readable form

published version 0.0.2, 6 years ago55 dependents licensed under $MIT
849,447
OSZAR »