shell-quote
quote and parse shell commands
quote and parse shell commands
transform a stream into a quoted string
A cross-platform library for safely passing strings through shells
Deprecated. Utilities for ES3, most of which have been adopted or superseded in ES5.1. Adapted from Douglas Crockford's Remedial JavaScript
Add quotes to given string unless it already has them
Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`
Convert matching single-quotes to double-quotes: I 'love' unicorns → I "love" unicorns
Collapse the leading and trailing whitespace of a string
Adds a backslash before single quotes in a string (or whichever characters you like)
Quote a value
Escape a string for use in AppleScript
Quote Tool for Editor.js
Replace all n/m dashes, curly quotes with their simpler equivalents
Split argv(argument vector) and handle special cases, such as quoted values.
retext plugin to check quotes and apostrophes
shell-escape-tag, but with a much smaller install size
Detect and (recursively) remove head and tail wrappings around the input string
strip leading/trailing single or double quotes from a string
Convert between DOM Range instances and text quotes.
Anime Quotes Generator (with cli)