npm

76 packages found

M
Q
P

Description

Convert Windows backslash paths to slash paths

Keywords

Publisher

published 3.0.07 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.02 years ago
M
Q
P

Description

Makes Windows-style paths more unix and URI friendly.

Keywords

Publisher

published 0.1.06 years ago
M
Q
P

Description

Trailing slash redirect middleware for Connect and Express.js

Keywords

Publisher

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

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.07 months ago
M
Q
P

Description

URL normalisation for Express and Connect. Forked form @AntuanKhanna/express-url to serve as (almost) drop-in replacement and to maintain the unmaintained code.

Keywords

Publisher

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

Forward-slash normalization of function results via composition

Keywords

Publisher

published 1.1.0a year ago
M
Q
P

Description

A toolkit for creating slash commands for Slack

Keywords

Publisher

published 2.0.12 months ago
M
Q
P

Description

Add or strip backslashes.

Keywords

Publisher

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

Path case a string

Keywords

Publisher

published 2.1.13 years ago
M
Q
P

Description

Useful when dealing with path(url)-like strings with redundant slash and back-slash.

Keywords

Publisher

published 0.1.0a month ago
M
Q
P

Description

path tool

Keywords

Publisher

published 1.29.06 days ago
M
Q
P

Description

ExpressJS middleware that redirects requests with trailing slashes to a clean one without it

Keywords

Publisher

published 2.1.121 days 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.53 months ago
M
Q
P

Description

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

Keywords

Publisher

published 2.0.04 months ago
M
Q
P

Description

Switch slash and backslash in string

Keywords

Publisher

published 1.0.02 years ago