Search results

183 packages found

Convert Windows backslash paths to slash paths

published version 5.1.0, 2 years ago4004 dependents licensed under $MIT
398,761,117

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 ago3049 dependents licensed under $MIT
307,120,844

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

published version 1.0.0, 8 years ago477 dependents licensed under $MIT
30,004,321

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,700,014

Convert Windows file paths to unix paths.

published version 1.0.0, 8 years ago138 dependents licensed under $MIT
18,870,079

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,472,178

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,449,412

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,862,691

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
680,105

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

published version 3.1.20, 9 months ago78 dependents licensed under $ISC
357,223

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,482

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
136,269

Trailing slash redirect middleware for Connect and Express.js

published version 1.4.0, 6 years ago54 dependents licensed under $MIT
106,381

Convert Windows backslash paths to slash paths

published version 2.0.0, 7 years ago166 dependents licensed under $MIT
79,049

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,418

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, 10 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, 6 days ago2 dependents licensed under $MIT
6,953

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