Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
slash
Convert Windows backslash paths to slash paths
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-relative
Returns `true` if the path appears to be relative.
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`.
unixify
Convert Windows file paths to unix paths.
glob-slasher
Prefix an object (key/values) of globs with a slash and normalize. Supports negated globs too. Glob version of slasher module
toxic
Mutate keys and values in objects. Returns a new version of the object
file-url
Convert a file path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
crosspath
A wrapper around the path module that always normalizes to POSIX (including converting backslashes to 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.
connect-slashes
Trailing slash redirect middleware for Connect and Express.js
escape-quotes
Adds a backslash before single quotes in a string (or whichever characters you like)
slash2
Convert Windows backslash paths to slash paths
gatsby-plugin-force-trailing-slashes
Forces trailing slashes in the PWA router for all statically generated pages
text-path-case
Convert into a lower case text with slashes between words
express-slash
Express middleware for people who are anal about trailing slashes.
carta-md
A lightweight, fully customizable, Markdown editor
@frida/crosspath
A wrapper around the path module that always normalizes to POSIX (including converting backslashes to forward slashes)
joplin-plugin-slash-commands
This plugin is a collection of utility commands that can be executed by typing corresponding keywords, which start with a slash. Current version supports three type of commands but more may be added in the future.