npm

73 packages found

M
Q
P

Description

Convert Windows backslash paths to slash paths

Keywords

Publisher

published 3.0.04 months 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

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

Keywords

Publisher

published 3.0.04 months 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

Trailing slash redirect middleware for Connect and Express.js

Keywords

Publisher

published 1.4.05 months 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

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

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

Keywords

Publisher

published 2.0.04 months ago
M
Q
P

Description

Koa middleware that makes sure all requests have a trailing slashes

Keywords

Publisher

published 2.0.12 years ago
M
Q
P

Description

Remove trailing path separator from string.

Keywords

Publisher

published 1.0.22 years ago
M
Q
P

Description

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

Keywords

Publisher

published 2.1.39 months ago
M
Q
P

Description

Add or remove trailing slash

Keywords

Publisher

published 1.0.2a year ago
M
Q
P

Description

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

Keywords

Publisher

published 2.0.0a month ago
M
Q
P

Description

Force SSL (HTTPS) when HTTP is required using Express (Nodejs). Remove www and trailing slash on domain.

Keywords

Publisher

published 3.0.3a year ago
M
Q
P

Description

Unify paths in any texts across platforms to UNIXy (slashed dirs) format for comparison, reporting, etc.

Keywords

Publisher

published 1.0.1a year ago
M
Q
P

Description

Add or remove trailing slashes, and redirect.

Keywords

Publisher

published 2.0.03 years ago