npm

71 packages found

M
Q
P

Description

Convert Windows backslash paths to slash paths

Keywords

Publisher

published 2.0.0a year ago
M
Q
P

Description

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.

Keywords

Publisher

published 3.0.0a year ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

Path case a string

Keywords

Publisher

published 2.1.12 years ago
M
Q
P

Description

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`.

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

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

Keywords

Publisher

published 3.0.0a month ago
M
Q
P

Description

Trailing slash redirect middleware for Connect and Express.js

Keywords

Publisher

published 1.4.02 months ago
M
Q
P

Description

Convert Windows file paths to unix paths.

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.23 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.15 years ago
M
Q
P

Description

Convert Windows backslash paths to slash paths

Keywords

Publisher

published 2.0.0a year ago
M
Q
P

Description

Makes Windows-style paths more unix and URI friendly.

Keywords

Publisher

published 0.1.05 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.1a year ago
M
Q
P

Description

Koa middleware that makes sure all requests have a trailing slashes

Keywords

Publisher

published 2.0.1a year ago
M
Q
P

Description

Add or remove trailing slash

Keywords

Publisher

published 1.0.2a year ago
M
Q
P

Description

Koa middleware that makes sure all requests does not have trailing slashes

Keywords

Publisher

published 2.0.0a year ago
M
Q
P

Description

Detects slashes and backslashes in strings

Keywords

Publisher

published 1.0.3a year ago
M
Q
P

Description

Add or remove trailing slashes, and redirect.

Keywords

Publisher

published 2.0.02 years ago
M
Q
P

Description

Ensure your string ends with a slash

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

Switch slash and backslash in string

Keywords

Publisher

published 1.0.0a year ago