Strip redundant indentation and indent the string
☆56Sep 18, 2026Updated last month
Alternatives and similar repositories for redent
Users that are interested in redent are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated last month
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated 2 years ago
- DES for browserify☆10Dec 21, 2024Updated last year
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Check if a path is the current working directory☆22Sep 18, 2026Updated last month
- Gracefully restore the CLI cursor on exit☆42Sep 18, 2026Updated last month
- Check if a path is in the current working directory☆23Sep 18, 2026Updated last month
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Check if an object can be used like an Array☆17Sep 13, 2025Updated last year
- Repeat a string - fast☆35Sep 18, 2026Updated last month
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Center-align the text in a string.☆23May 26, 2017Updated 9 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Trim newlines from the start and/or end of a string☆49Sep 18, 2026Updated last month
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14May 6, 2018Updated 8 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 9 years ago
- Get the user home directory with fallback to the system temp directory☆30Sep 18, 2026Updated last month
- PostCSS helpers to throw or output GNU style messages☆10Jul 2, 2024Updated 2 years ago
- node's assert.deepEqual algorithm except for the fact that (NaN === NaN) and (+0 !== -0).☆21Sep 4, 2021Updated 5 years ago
- Check if a given module ID is resolvable with require()☆16Nov 30, 2018Updated 7 years ago
- Returns true if a string has an extglob☆23May 25, 2019Updated 7 years ago
- Create a vinyl file or stream from a buffer☆13Oct 17, 2017Updated 9 years ago
- Simple, predictable pricing with DigitalOcean hosting • AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆25Oct 25, 2025Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Sep 18, 2026Updated last month
- Lowercase the keys of an object☆42Sep 18, 2026Updated last month
- ES2015 `Array#findIndex()` ponyfill☆33Sep 18, 2026Updated last month
- Check if a string matches the name of a Node.js builtin module☆63Sep 18, 2026Updated last month
- ☆19Dec 21, 2024Updated last year
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Jul 13, 2017Updated 9 years ago
- Check if a path is a file, directory, or symlink☆81Sep 18, 2026Updated last month
- a list of SPDX license identifiers☆37Sep 17, 2026Updated last month
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Tests if a json property can be safely accessed using the . syntax☆12May 11, 2016Updated 10 years ago
- Right-align the text in a string.☆19May 4, 2018Updated 8 years ago
- Try to guess if your terminal supports unicode☆18Dec 16, 2020Updated 5 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Jan 21, 2026Updated 9 months ago
- Reduce function calls in a string, using a callback☆12Oct 19, 2026Updated 2 weeks ago
- Give me a string and I'll tell you if it's a valid npm package license string☆26Apr 14, 2021Updated 5 years ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 4 years ago