</>PackageGraphPackageGraph

strip-indent

npmv4.1.1TypeScript

Strip leading whitespace from each line in a string

80.4M
Weekly downloads
1
Dependents
2
Dependencies
97/100
Popularity

Overview

strip-indent is an npm package that strip leading whitespace from each line in a string. It is extremely widely used, with about 80.4M downloads per week and 1 known dependents in the graph. The latest version is 4.1.1, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need strip leading whitespace from each line in a string and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (80.4M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).
  • Lean dependency tree (2 direct dependencies).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of strip-indent.

redentstrip-indent
strip-indent dependencies dependents

Dependencies

Dev (2)

ava ^3.15.0xo ^0.39.1

Used by

Popular packages that depend on strip-indent.

Alternatives to strip-indent

Frequently installed together

Version history

VersionPublishedLicense
4.1.1latest9 months agoMIT
4.1.010 months agoMIT
4.0.05 years agoMIT
3.0.07 years agoMIT
2.0.010 years agoMIT
1.0.111 years agoMIT
1.0.012 years agoMIT
0.1.312 years agoMIT
0.1.212 years agoMIT
0.1.112 years agoMIT
0.1.012 years agoMIT

Maintainers

Keywords

Funding

Frequently asked questions

How do I install strip-indent?

Run `npm install strip-indent` to add strip-indent to your npm project.

What license is strip-indent released under?

strip-indent is distributed under the MIT license.

How popular is strip-indent?

strip-indent has approximately 80,444,549 downloads per week and 1 known dependent packages.