A package manager for JavaScript projects.
cotton install
runs faster than
rm -rf node_modules
.
Works with everything you already use. React, Next.js, Vite, TypeScript - just drop it in and go. Zero config needed.
We're not kidding about the speed.
cotton install
literally finishes before
rm -rf node_modules
can delete your old
ones.
No more "delete node_modules and try again" solutions. Your dependencies stay in sync, every time. Just like they should.
One command installs everything and locks it down. Your team gets the exact same versions, guaranteed.
Skip the install step entirely. Cotton runs your scripts and handles missing packages automatically.
Auto-restart on changes:
Bump everything to the latest versions. Cotton handles the conflicts so you don't have to.
Need Puppeteer or Electron? One config line enables install scripts when you actually need them.
cotton.toml:
Cotton works with all the platforms you already use: