Permalink to Table of ContentsTable of Contents
- Quick Take
- Classify individual characters
- Parse typed, short and repeatable CLI flags
- Assemble CLI help text
- Deeply clone a cyclic object graph
- Detect and resolve line endings
- Test whether a value exists
- Find overlapping substring occurrences
- Match a string against literal and regular-expression choices
- Intersect arrays in the first array's order
- Reject a character that is not a digit
- Omit keys and clone retained values
- Check own properties safely
- Distinguish plain objects from other object values
- Remove selected array values without mutating the input
- Remove one trailing slash
- Sort strings with the shared comparator
- Replace part of a string
- Reuse shared text symbols and HTML tag sets
- Trim selected characters from both string edges
- Check common JavaScript value types
- Deduplicate values while preserving order
- Match wildcard allow-lists and deny-lists