npm

19 packages found

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

paths that always use forward slashes

Keywords

Publisher

published 1.0.010 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

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

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

Keywords

Publisher

published 2.1.310 months ago
M
Q
P

Description

Remove leading slashes from a given string

Keywords

Publisher

published 1.0.13 years ago
M
Q
P

Description

Express middleware for people who are anal about trailing slashes.

Keywords

Publisher

published 2.0.15 years ago
M
Q
P

Description

Normalize paths to by adding or removing beginning and/or end slashes

Keywords

Publisher

published 1.0.13 years ago
M
Q
P

Description

Connect/Express middleware that removes trailing slashes from URLs

Keywords

Publisher

published 1.1.14 months ago
M
Q
P

Description

removes trailing slashes

Keywords

Publisher

published 0.1.06 years ago
M
Q
P

Description

Add or remove trailing slashes.

Keywords

Publisher

published 0.3.03 years ago
M
Q
P

Description

Express middleware that removes trailing slashes

Keywords

Publisher

published 0.1.13 years ago
M
Q
P

Description

Koa middleware that removes trailing slashes

Keywords

Publisher

published 0.2.03 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

A function that removes all slashes from the end of a string.

Keywords

Publisher

published 0.1.02 years ago
M
Q
P

Description

Checks for the presence of URL protocol without a slashes (colon-slash-slash)

Keywords

Publisher

published 2.0.06 months ago
M
Q
P

Description

Check if a string has trailing slashses easily

Keywords

Publisher

published 1.0.33 years ago
M
Q
P

Description

Express utitlities for automatic https redirects, slash forcing, logging, error handling and Handlebars templating

Keywords

Publisher

published 0.1.13 years ago