sindresorhus / trim-rightView external linksLinks
Similar to String#trim() but removes only whitespace on the right
☆22Jul 9, 2021Updated 4 years ago
Alternatives and similar repositories for trim-right
Users that are interested in trim-right are comparing it to the libraries listed below
Sorting:
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- ES2015 Number.isNaN() ponyfill☆29May 2, 2024Updated last year
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Regular expression for matching a shebang line☆48Aug 13, 2021Updated 4 years ago
- Moved to https://github.com/nodejs/string_decoder☆23Jun 21, 2017Updated 8 years ago
- Create an array by repeating the given string n times.☆19Apr 7, 2021Updated 4 years ago
- timers module for browserify☆24Dec 21, 2024Updated last year
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Trim newlines from the start and/or end of a string☆49Mar 20, 2023Updated 2 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 4 years ago
- Try to guess if your terminal supports unicode☆18Dec 16, 2020Updated 5 years ago
- Answers the question: "can this value have keys?". Returns true if a value is any of the object types: array, regexp, plain object, funct…☆19Aug 20, 2021Updated 4 years ago
- list of SPDX standard license exceptions☆16Apr 25, 2024Updated last year
- Returns true if a string has an extglob☆23May 25, 2019Updated 6 years ago
- Get the user home directory with fallback to the system temp directory☆30Apr 16, 2021Updated 4 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last week
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Feb 26, 2022Updated 3 years ago
- Faster, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks.☆25Nov 26, 2018Updated 7 years ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 4 years ago
- Mapping between standard locale identifiers and Windows locale identifiers (LCID)☆39Apr 30, 2024Updated last year
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Feb 27, 2017Updated 8 years ago
- Timeout HTTP/HTTPS requests☆51Sep 9, 2025Updated 5 months ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Dec 30, 2025Updated last month
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- A transform to make UglifyJS work in browserify☆21Feb 18, 2020Updated 5 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Jul 9, 2022Updated 3 years ago
- Right-align the text in a string.☆19May 4, 2018Updated 7 years ago
- utilities for primitive JavaScript types☆33Nov 29, 2021Updated 4 years ago
- schema package for HTTPArchive (HAR)☆22Jun 4, 2020Updated 5 years ago
- Get an ArrayBuffer from a Buffer as fast as possible☆20Jul 9, 2021Updated 4 years ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 3 years ago
- Assign the enumerable es6 Symbol properties from an object (or objects) to the first object passed on the arguments. Can be used as a sup…☆18Sep 14, 2018Updated 7 years ago