{"repo":"danielhuang/cotton","free":true,"listed":false,"github":"https://github.com/danielhuang/cotton","clone":"git clone https://github.com/danielhuang/cotton.git","description":"A package manager for JavaScript projects. `cotton install` runs faster than `rm -rf node_modules`.","language":"Rust","stars":310,"topics":["javascript","npm","package-manager","hacktoberfest","pnpm","yarn"],"license":"GPL-3.0","category":"dev-tools","readme_excerpt":"Simple and speedy package manager --- Simple: Cotton works with web applications, including those built with React, Next.js, Vite, TypeScript, ESLint, and more. Speedy: With a fast network, cotton install runs faster than rm -rf node modules . Trouble free: Ever run into errors when you forget to run yarn ? No more. With Cotton, node modules would never get out of sync. Quickstart for Netlify • Cloudflare Pages Benchmarks Bun's benchmark Tool With lockfile and cache ------------ ----------------------- Cotton 0.270s Bun 1.2 0.536s pnpm 9.15.4 2.015s Yarn 1.22.22 2.633s npm 10.8.2 4.031s Installing packages used by create-react-app: Tool Initial install With lockfile only With lockfile and cache ------ --------------- ------------------ ----------------------- Cotton 4.0s 1.8s 0.3s pnpm 24.3s 17.9s 5.5s Yarn 31.9s 27.0s 10.6s npm 35.4s 21.3s 13.0s See benchmark for more information. Installation Install from source Install compiled artifact (Linux-only) Download and install the compiled binary: Get started Install packages This will install packages to node modules and save cotton.lock if needed. Run a script To run the start script: To automatically restart the script when package.json changes: Unlike other package managers, Cotton does not require installing packages before running scripts. Missing packages will be installed on-demand automatically. Update package versions This will load the latest available versions of dependencies (including transitive dependencies) and sa","default_branch":null,"files":null,"tree":[],"storefront":"/r/danielhuang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/danielhuang/cotton/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}