yarn

Yarn

Yarn is defined by its raw material. The choice of fiber dictates everything: drape, warmth, durability, and even memory (the ability to spring back to shape).

1. The Protein Fibers (Animal)

2. Cellulose Fibers (Plant)

3. The Synthetics


At its most basic level, yarn is simple: it is fibers twisted together. However, the physics of that twist is what separates a weak clump of fluff from a strong, durable thread. Yarn is defined by its raw material

The Spin The magic lies in friction. When individual short fibers (staples) are twisted, the outer ends wrap around the inner ones. If you try to pull the yarn apart, the fibers press harder against each other, increasing friction and resisting the break. This is the "Z-twist" and "S-twist"—terms referring to the direction of the spiral. A balanced yarn usually consists of two or more single strands plied (twisted) together in the opposite direction to create a stable, balanced rope.

The Ply Ply dictates the character of the yarn. A single-ply yarn is soft and slightly fragile, prone to pilling (forming small fuzz balls). A 4-ply or worsted yarn is rounder, sturdier, and better defined. It is the difference between a delicate, airy lace shawl and a rugged, cable-knit fisherman’s sweater. At its most basic level


| Action | Yarn Classic | Yarn Berry (PnP) | npm v10 | |-----------------------|--------------|------------------|---------| | Fresh install (cold) | 38s | 12s | 41s | | Subsequent install | 2.1s | 0.8s | 2.7s | | node_modules size | 410 MB | 0 (virtual) | 395 MB | | CI artifact time | 45s | 15s | 52s |

(Times on GitHub Actions, Ubuntu, Node 20) airy lace shawl and a rugged