Showing 1-20 of 667 packages
Add or remove backslashes (escape or unescape).
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.
removes trailing slashes
TypeScript definitions for connect-slashes
paths that always use forward slashes
Forces trailing slashes in the PWA router for all statically generated pages
quote and unquote strings. escapes internal quotes and slashes. Automatically decides whether to use single or double quotes.
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
A wrapper around the path module that always normalizes to POSIX (including converting backslashes to forward slashes)
Convert into a lower case text with slashes between words
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
Koa middleware that makes sure all requests does not have trailing slashes
Express middleware for people who are anal about trailing slashes.
Reference: https://developers.google.com/style/slashes
Koa middleware that makes sure all requests have a trailing slashes
Trailing slash redirect middleware for Connect and Express.js
Add or remove trailing slashes, and redirect.
Function to join paths that always returns forward slashes (uniform for unix and windows). A replacement to path.join
a tiny zero dependency library to join strings with slashes in them that isn't too smart about it!