Search results

181 packages found

Convert Windows backslash paths to slash paths

published version 5.1.0, 2 years ago3881 dependents licensed under $MIT
341,357,851

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 ago2967 dependents licensed under $MIT
247,774,475

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

published version 1.0.0, 8 years ago470 dependents licensed under $MIT
26,226,584

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 ago457 dependents licensed under $MIT
25,840,534

Convert Windows file paths to unix paths.

published version 1.0.0, 8 years ago138 dependents licensed under $MIT
14,851,770

Prefix an object (key/values) of globs with a slash and normalize. Supports negated globs too. Glob version of slasher module

published version 1.0.1, 10 years ago10 dependents licensed under $MIT
2,079,394

Mutate keys and values in objects. Returns a new version of the object

published version 1.0.1, 7 years ago4 dependents licensed under $MIT
2,059,434

Convert a file path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`

published version 4.0.0, 4 years ago261 dependents licensed under $MIT
2,157,160

A wrapper around the path module that always normalizes to POSIX (including converting backslashes to forward slashes)

published version 2.0.0, 3 years ago23 dependents licensed under $MIT
619,667

A proxy to `path`, replacing `\` with `/` for all results

published version 3.1.20, 6 months ago78 dependents licensed under $ISC
296,439

Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.

published version 2.0.1, 2 years ago12 dependents licensed under $MIT
206,640

Trailing slash redirect middleware for Connect and Express.js

published version 1.4.0, 6 years ago52 dependents licensed under $MIT
107,451

Adds a backslash before single quotes in a string (or whichever characters you like)

published version 1.0.2, 9 years ago32 dependents licensed under $MIT
84,673

Convert Windows backslash paths to slash paths

published version 2.0.0, 7 years ago166 dependents licensed under $MIT
54,944

Forces trailing slashes in the PWA router for all statically generated pages

published version 1.0.6, 3 years ago21 dependents licensed under $MIT
31,732

Convert into a lower case text with slashes between words

published version 1.0.2, 4 years ago1 dependents licensed under $MIT
9,099

Express middleware for people who are anal about trailing slashes.

published version 2.0.1, 11 years ago24 dependents
6,862

A lightweight, fully customizable, Markdown editor

published version 4.6.7, 3 months ago0 dependents licensed under $MIT
6,707

This plugin adds support for code blocks **syntax highlighting**. It uses the same highlighter from the core package(Shiki).

published version 4.0.6, 8 months ago1 dependents licensed under $MIT
2,800

A wrapper around the path module that always normalizes to POSIX (including converting backslashes to forward slashes)

published version 3.0.0, 3 years ago1 dependents licensed under $MIT
3,472