119 packages found
A wrapper around the path module that always normalizes to POSIX (including converting backslashes to forward slashes)
Convert a path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
Unify paths in any texts across platforms to UNIXy (slashed dirs) format for comparison, reporting, etc.
Detects slashes and backslashes in strings
Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.
Normy is a Node.js middleware that normalizes and redirects URLs for SEO purposes.
Check if a string has trailing slashses easily
Switch slash and backslash in string
Normalize paths to by adding or removing beginning and/or end slashes
Koa middleware that redirects all requests to an URL with a trailing slash to the same URL without it.
Prefix a path with leading slash
Slash commands for Discord
Convert into a lower case text with slashes between words
Add or strip backslashes.
An icon manager to visually disable icons
Forward-slash normalization of function results via composition
Make easy discord.js slash commands.
A slash command and context menu commands handler for Discord.js bots