Get the visual width of a string - the number of columns required to display it
A utility package to parse strings
Escape RegExp special characters
Indent each line in a string
Light ECMAScript (JavaScript) Value Notation - human written, concise, typed, flexible
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Modify strings, generate sourcemaps
Repeat the given string n times. Fastest implementation for repeating a string.
A minimal base64 implementation for number arrays.
A minimal UTF8 implementation for number arrays.
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
LZ-based compression algorithm
Wordwrap a string with ANSI escape codes
Strip leading whitespace from each line in a string
Slice a string with ANSI escape codes
type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.
Native Access to MacOS FSEvents
Matches strings against configurable strings, globs, regular expressions, and/or functions
CLI arguments parser. Native port of python's argparse.
Strip redundant indentation and indent the string
mdast utility to get the plain text content of a node
A minimal path module to resolve Unix, Windows and URL paths alike.
Require module from string
Generate a unique character string suitible for use in files and URLs.
Adds an instance method for String class to see if a string includes one or more substrings
A very simple gem that adds some methods to some Ruby standard classes, e.g. <array>.include_any?, <array>.delete_random, etc. Simply require the gem ( require "more_ruby" ) and the additional methods will be available. # New instance methods # ## Array :all_instance_of?, :all_kind_of?, :av, :delete_random, :include_any?, :insert_flat, :mean, :modulo_fetch, :peach, :random, :random_index, :random_insert, :random_move, :stringify_all_values_deep, :sum, :wrap_fetch ## Float :format_with_thousands_delimiter, :signif ## Hash :all_keys, :all_values, :delete_random, :peach, :random_key, :random_pair, :random_value, :remove_empty_fields, :sort_deep, :stringify_all_values_deep, :strip_hash_of_keys, :to_a_deep, :to_xml ## Integer :digit_count, :format_with_thousands_delimiter, :num_to_letter, :signif ## NilClass :empty? ## Numeric :format_with_thousands_delimiter ## String :append, :camelcase, :camelcase_to_snakecase, :capitalize_all, :capitalize_first_letter_only, :escape, :escape_whitespace, :extract_values_from_xml_string, :formatted_number, :index_of_last_capital, :invert_case, :is_hex?, :is_integer?, :join, :pascalcase, :prefix_lines, :random_case, :snakecase, :snakecase_and_downcase, :to_bool, :unindent ## Time :is_after?, :is_before?, :is_within?, :remove_subseconds # New singleton methods # ## FalseClass :maybe?, :random ## File :basename_no_ext ## TrueClass :maybe?, :random
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.