157 packages found
Convert Windows backslash paths to slash paths
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.
- View more
Transform into a lower case string with slashes between words
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`.
Returns `true` if the path appears to be relative.
An simple discord regular and slash commands, events and modules handler with folder structure
- discord features handler
Trailing slash redirect middleware for Connect and Express.js
ExpressJS middleware that redirects requests with trailing slashes to a clean one without it
An extremely simplistic method-based slash command handler for Discord.js v14.
simple discord.js v13 command handler
Prefix an object (key/values) of globs with a slash and normalize. Supports negated globs too. Glob version of slasher module
Mutate keys and values in objects. Returns a new version of the object
Add or remove trailing slashes, and redirect.
Convert Windows file paths to unix paths.
Convert a file path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
Universal module for everything.
- View more
Express middleware for people who are anal about trailing slashes.
Normy is a Node.js middleware that normalizes and redirects URLs for SEO purposes.
Check if a string has trailing slashses easily