Search results

19 packages found

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 3.0.0 6 years ago
M
Q
P

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

published 1.0.0 7 years ago
M
Q
P

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 1.0.0 7 years ago
M
Q
P

paths that always use forward slashes

published 1.0.0 5 years ago
M
Q
P

Convert Windows file paths to unix paths.

published 1.0.0 7 years ago
M
Q
P

Remove leading slashes from a given string

published 2.0.0 4 months ago
M
Q
P

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

published 1.0.1 7 years ago
M
Q
P

Add or remove trailing slashes.

published 0.3.0 7 years ago
M
Q
P

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

published 2.0.1 9 months ago
M
Q
P

Express middleware for people who are anal about trailing slashes.

published 2.0.1 10 years ago
M
Q
P

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

published 3.1.19 2 years ago
M
Q
P

Check if a string has trailing slashses easily

published 1.0.3 7 years ago
M
Q
P

Adding or removing of trailing and/or leading slashes in strings, test for their existence or join strings with slashes without duplicating them.

published 2.0.1 a year ago
M
Q
P

removes trailing slashes

published 0.1.1 4 years ago
M
Q
P

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

published 2.0.0 5 years ago
M
Q
P

Express middleware that removes trailing slashes

published 0.1.1 7 years ago
M
Q
P

Koa middleware that removes trailing slashes

published 0.2.0 8 years ago
M
Q
P

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

published 0.1.0 7 years ago
M
Q
P

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

published 0.1.1 7 years ago
M
Q
P