Adding or removing of trailing and/or leading slashes in strings, test for their existence or join strings with slashes without duplicating them.
Safely normalizes file path slashes to POSIX/Unix-style forward slashes.
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.
Lax URL parsing with support for protocol-less URLs and IPs
Add or remove backslashes (escape or unescape).
removes trailing slashes
Tests whether one path is inside another path
Convert Windows backslash paths to slash paths
User-friendly glob matching
A drop-in replacement / proxy to Node.js path, replacing \\ with / for all results & adding file extension functions.
A wrapper around the path module that always normalizes to POSIX (including converting backslashes to forward slashes)
Trailing slash redirect middleware for Connect and Express.js
walk paths fast and efficiently
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
TypeScript definitions for connect-slashes
Turn any flavor of allowable package.json bin into a normalized object
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
quote and unquote strings. escapes internal quotes and slashes. Automatically decides whether to use single or double quotes.
Join urls and normalize as in path.join.
Simplified version of https://github.com/jonschlinkert/parse-github-url
paths that always use forward slashes
Forces trailing slashes in the PWA router for all statically generated pages
A wide-character aware text alignment function for use on the console or with fixed width fonts.
Conversion to/from a file path from/to slash path
Sugar functions for manipulating paths
Unified CLI for Noir ZK circuit development
A cross-platform command line application that makes installing and uninstalling fonts a blast!
SlashForce is a simple gem for Ruby on Rails to append trailing slash to paths.
= tagomatic Simple command-line mp3 tagger based on mp3info gem. Supports folder-specific configuration files. Another mp3 tagger the world does not need. But I needed it. I have a large collection of old mp3 files. From times when tagging was mostly based on the file and folder names. When v2 tags where nowhere close.. == Overview Modes of operation: * The tagger will try to guess the tags from the full file path by applying a set of known formats. * The tagger will apply specific tags given on the command-line. * The tagger will match specific formats given on the command-line. * Arbitrary combination of the before-mentioned modes. The scanner supports recursive folder handling. Of course. Right now v2 tags are the focus. It is probably best to call this alpha ware. == Usage For my genre/artist/album/track.mp3 collection I use this invocation pattern: tagomatic --underscores --guess --recurse --showtags --errorstops --cleantags /media/music/ Then I add folder-specific .tagomatic or .format= files whenever an error occurs. == The .tagomatic file You can put the (long version) of the command line options into folder-specific .tagomatic files. These options are then valid only for this folder and sub-folders. This is useful - for example - if you want to switch guessing off for sub-folders. == The .format= files You can add files named .format= to sub-folders. They will be picked up by tagomatic and added as custom formats just as if you would have passed them on the command line using the --format option. Because the slash is not allowed in file names you have to replace it with a vertical dash like in this example: .format=%g|%a|%b|%n - %t.mp3 These formats are valid only for this folder and sub-folders. == Copyright Copyright (c) 2009 Daniel Lukic. See LICENSE for details.