Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
normalize-path
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.
is-absolute
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`.
is-relative
Returns `true` if the path appears to be relative.
unixify
Convert Windows file paths to unix paths.
remove-trailing-slash
removes trailing slashes
canonical-path
paths that always use forward slashes
upath2
A proxy to `path`, replacing `\` with `/` for all results
path-starts-with
Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.
express-slash
Express middleware for people who are anal about trailing slashes.
remove-leading-slash
Remove leading slashes from a given string
path-slashes
Adding or removing of trailing and/or leading slashes in strings, test for their existence or join strings with slashes without duplicating them.
trailing-slash-it
Add or remove trailing slashes.
is-url-protocol-without-slashes
Checks for the presence of URL protocol without a slashes (colon-slash-slash)
has-trailing-slash
Check if a string has trailing slashses easily
express-slashes
Express middleware that removes trailing slashes
normalize-slashes
Normalize paths to by adding or removing beginning and/or end slashes
strip-trailing-slashes
A function that removes all slashes from the end of a string.
prg-express
Express utitlities for automatic https redirects, slash forcing, logging, error handling and Handlebars templating
koa-slash
Koa middleware that removes trailing slashes