Search results
175 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.
- absolute
- backslash
- delimiter
- file
- file-path
- filepath
- fix
- forward
- fp
- fs
- normalize
- path
- relative
- separator
- View more
An simple discord regular and slash commands, events and modules handler with folder structure
- discord
- discord.js
- bot
- commands
- slash
- command
- event
- events
- modules
- features
- feature
- handler
- discord features handler
Convert a file path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
Returns `true` if the path appears to be relative.
ExpressJS middleware that redirects requests with trailing slashes to a clean one without it
A Discord.Js Slash Command Manager
Trailing slash redirect middleware for Connect and Express.js
ExpressJS middleware that redirects requests with trailing slashes to a clean one without it
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`.
An extremely simplistic method-based slash command handler for Discord.js v14.
Universal module for everything.
- catto
- cat
- js
- discord
- discord.js
- express
- passport
- authorization
- auth
- discord-auth
- kitten
- cats
- kittens
- cattoes
- View more
Add or remove trailing slashes, and redirect.
Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.
Express middleware for people who are anal about trailing slashes.
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
Normy is a Node.js middleware that normalizes and redirects URLs for SEO purposes.
Unify paths in any texts across platforms to UNIXy (slashed dirs) format for comparison, reporting, etc.
Normalize paths to by adding or removing beginning and/or end slashes