sindresorhus / redentView external linksLinks
Strip redundant indentation and indent the string
☆55May 3, 2021Updated 4 years ago
Alternatives and similar repositories for redent
Users that are interested in redent are comparing it to the libraries listed below
Sorting:
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- ES2015 Number.isNaN() ponyfill☆29May 2, 2024Updated last year
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Trim newlines from the start and/or end of a string☆49Mar 20, 2023Updated 2 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- ☆26Dec 7, 2017Updated 8 years ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Lowercase the keys of an object☆41Feb 2, 2026Updated last week
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 5 months ago
- Get the email of an npm user☆14Feb 26, 2024Updated last year
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- Get the user home directory with fallback to the system temp directory☆30Apr 16, 2021Updated 4 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Feb 26, 2022Updated 3 years ago
- Turn an array like into an array☆12Mar 14, 2021Updated 4 years ago
- [DEPRECATED] Node.js `os.homedir()` ponyfill☆61Jan 24, 2021Updated 5 years ago
- Apply an async function to each Array element in series☆21Sep 18, 2015Updated 10 years ago
- 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
- node's assert.deepEqual algorithm except for the fact that (NaN === NaN) and (+0 !== -0).☆21Sep 4, 2021Updated 4 years ago
- Lax URL parsing with support for protocol-less URLs and IPs☆55Sep 7, 2025Updated 5 months ago
- Check if something is a Node.js stream☆115Oct 28, 2024Updated last year
- ES2015 `Array#findIndex()` ponyfill☆33May 1, 2024Updated last year
- Get the version numbers of a package from the npm registry☆31Feb 26, 2024Updated last year
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Jul 9, 2022Updated 3 years ago
- A transform to make UglifyJS work in browserify☆21Feb 18, 2020Updated 5 years ago
- Right-align the text in a string.☆19May 4, 2018Updated 7 years ago
- Node.js 0.12 fs.access() & fs.accessSync() ponyfill☆13Oct 30, 2023Updated 2 years ago
- Add AVA to your project☆15Jan 24, 2021Updated 5 years ago
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆47Feb 2, 2026Updated last week
- Convert a value to an array☆133Nov 9, 2021Updated 4 years ago
- Ensure a function is only called once☆165Feb 2, 2026Updated last week
- Make a function mimic another one☆96Oct 28, 2024Updated last year