Search results

183 packages found

Convert Windows backslash paths to slash paths

published version 5.1.0, 2 years ago4007 dependents licensed under $MIT
398,347,663

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 ago3050 dependents licensed under $MIT
307,246,180

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

published version 1.0.0, 8 years ago477 dependents licensed under $MIT
31,181,358

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
30,685,072

Convert Windows file paths to unix paths.

published version 1.0.0, 8 years ago138 dependents licensed under $MIT
18,856,256

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, 11 years ago10 dependents licensed under $MIT
2,462,820

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,439,068

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

published version 4.0.0, 4 years ago272 dependents licensed under $MIT
2,867,692

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
677,195

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

published version 3.1.20, 9 months ago78 dependents licensed under $ISC
356,077

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
219,993

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
134,303

Trailing slash redirect middleware for Connect and Express.js

published version 1.4.0, 6 years ago54 dependents licensed under $MIT
108,030

Convert Windows backslash paths to slash paths

published version 2.0.0, 7 years ago166 dependents licensed under $MIT
76,083

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

published version 1.0.6, 3 years ago21 dependents licensed under $MIT
36,683

Convert into a lower case text with slashes between words

published version 1.0.2, 5 years ago1 dependents licensed under $MIT
13,338

Express middleware for people who are anal about trailing slashes.

published version 2.0.1, 11 years ago24 dependents
11,858

A lightweight, fully customizable, Markdown editor

published version 4.10.2, 12 days ago1 dependents licensed under $MIT
7,613

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

published version 3.0.2, 8 days ago2 dependents licensed under $MIT
8,267

This plugin is a collection of utility commands that can be executed by typing corresponding keywords, which start with a slash. Current version supports three type of commands but more may be added in the future.

published version 1.5.1, a month ago0 dependents licensed under $MIT
4,228