How js-beautify is used
js-beautify joined the catalog on its public numbers (6,386,765 downloads a week on npm and 9,000 GitHub stars), not on our project count: it is a dependency in 6 public GitHub projects of our scan, 3 of them set up for AI coding agents. The most used alternative in our scan is Prettier (1,308 projects). Projects that use it most often also use Axios (66.7%), Prettier (66.7%), CodeMirror (50.0%).
js-beautify popularity over time
Gid Score 51: downloads 81, use in agent projects 10, GitHub stars 48, downloads trend 53 (each 0-100). How it is calculated.
Often used with js-beautify
| Axios | 66.7% of js-beautify projects · 8.7× more than average |
|---|---|
| Prettier | 66.7% of js-beautify projects · 3.2× more than average |
| CodeMirror | 50.0% of js-beautify projects · 72.2× more than average |
| concurrently | 50.0% of js-beautify projects · 6.4× more than average |
| ESLint | 83.3% of js-beautify projects · 2.3× more than average |
| dotenv | 50.0% of js-beautify projects · 3.2× more than average |
| Tailwind CSS | 66.7% of js-beautify projects · 2.0× more than average |
| Iconify | 33.3% of js-beautify projects · 73.9× more than average |
Install
| Package | npm install js-beautify |
|---|---|
| Main stacks | TypeScript / JavaScript (4), PHP (1), Next.js (1) |
| Example projects | remix-project-org/remix-project, supOS-Project/supOS-frontend, DevRohit06/aura-ide |
Alternatives to js-beautify
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside js-beautify are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| Prettier npm Opinionated code formatter for JavaScript, TypeScript, and related languages. |
88 | 1,308 (27.1%) | 81.6M | 52.4K | MIT |
More in Linting and formatting: ESLint Biome oxlint oxfmt Knip stylelint ESLint Import Resolver TypeScript oxlint-tsgolint