Indent each line in a string
☆116Sep 18, 2026Updated this week
Alternatives and similar repositories for indent-string
Users that are interested in indent-string 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
- Check if a path is the current working directory☆22Updated this week
- Check if a path is inside another path☆40Updated this week
- Strip redundant indentation and indent the string☆55Updated this week
- Gracefully restore the CLI cursor on exit☆41Updated this week
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- Strip leading whitespace from each line in a string☆150Updated this week
- Repeat a string - fast☆35Updated this week
- Check if a file path is a binary file☆49Updated this week
- Check if a path is in the current working directory☆23Updated this week
- Strip leading whitespace from each line in a string☆13Aug 19, 2021Updated 5 years ago
- Check if a string matches the name of a Node.js builtin module☆62Updated this week
- Check if a path exists☆154Updated this week
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Updated this week
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Trim newlines from the start and/or end of a string☆49Updated this week
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated 2 years ago
- Check if a number is a redirect HTTP status code☆25Updated this week
- Read the closest package.json file☆266Updated this week
- Node.js 0.12 path.isAbsolute() ponyfill☆42Jan 24, 2021Updated 5 years ago
- Regular expression for matching a shebang line☆48Updated this week
- Iterator abstraction as specified in ECMAScript6☆19Jun 30, 2021Updated 5 years ago
- Create an array by repeating the given string n times.☆19Apr 7, 2021Updated 5 years ago
- Check if a path is a file, directory, or symlink☆81Updated this week
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- 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
- Check whether a binary version satisfies a semver range☆23Updated this week
- Unpipe a stream from all destinations☆22Dec 15, 2020Updated 5 years ago
- Modify the values of an object☆28Updated this week
- Check if the character represented by a given Unicode code point is fullwidth☆51Updated this week
- Check if argv has a specific flag☆94Updated this week
- Get the first path that exists on disk of multiple paths☆64Updated this week
- Transform the first chunk in a stream☆27Updated this week
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Lowercase the keys of an object☆42Updated this week
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated this week
- Check if a value is a function☆29May 3, 2021Updated 5 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated this week
- Toggle the CLI cursor☆114Updated this week
- Check if a given module ID is resolvable with require()☆16Nov 30, 2018Updated 7 years ago
- Create an array without duplicates☆74Updated this week