Key Highlights
- JavaScript is used as a client-side programming language by 98.9% of all websites
- JavaScript has been ranked as the most commonly used programming language for 11 consecutive years
- 63.61% of professional developers reportedly use JavaScript
- React is used by 40.58% of all developers making it the most popular web framework
- jQuery is still used by 75.8% of all websites despite the rise of modern frameworks
- The npm registry hosts over 2.5 million JavaScript packages
- The average salary for a JavaScript Developer in the US is $112000 per year
- JavaScript professionals are 2.6 times more likely to work remotely than on-site
- 40% of recruiting managers identify JavaScript as the most sought-after skill
- The median amount of JavaScript transferred to mobile devices is 460 KB (gzipped)
- The median amount of JavaScript transferred to desktop devices is 503 KB (gzipped)
- Unused JavaScript accounts for 37% of the total script bytes on mobile pages
- 64% of all XSS (Cross-Site Scripting) vulnerabilities are due to improper JS sanitization
- 83% of the top 1000 npm packages have at least one known extensive vulnerability
- 51% of JavaScript vulnerabilities are critical or high severity
Developer Economy & Sentiment
- The average salary for a JavaScript Developer in the US is $112000 per year
- JavaScript professionals are 2.6 times more likely to work remotely than on-site
- 40% of recruiting managers identify JavaScript as the most sought-after skill
- Senior JavaScript developers with 6+ years experience earn 30% more than juniors
- 57.83% of developers express a desire to continue working with JavaScript ("Loved")
- 39.81% of developers who do not currently use JavaScript want to learn it ("Desired")
- Full-stack developers (heavy JS users) comprise 33.48% of the developer workforce
- Node.js developers earn an average of $65000 globally (adjusted for COL)
- 72% of companies hiring for Front-end roles require JavaScript experience
- JavaScript developers in Switzerland earn the highest average global salary at $117k
- 61% of JavaScript developers learn a new framework every year
- 1 in 3 developer job postings on Indeed mention JavaScript or a JS library
- JavaScript developers have a 90% employment rate within the tech sector
- 34% of JavaScript developers have less than 5 years of professional experience
- 8 out of 10 bootcamps focus their curriculum primarily on JavaScript stacks (MERN)
- Only 14% of JavaScript developers work for companies with fewer than 20 employees
- 71% of JavaScript developers prefer VS Code as their IDE
- The demand for JavaScript developers grew by 12% in 2023
- Roughly 85% of JavaScript developers write code solely in English
- 18% of JavaScript developers contribute to open source projects weekly
Developer Economy & Sentiment Interpretation
Frameworks & Libraries
- React is used by 40.58% of all developers making it the most popular web framework
- jQuery is still used by 75.8% of all websites despite the rise of modern frameworks
- The npm registry hosts over 2.5 million JavaScript packages
- TypeScript (a JavaScript superset) is used by 38.87% of developers
- Next.js is used by 16.67% of developers making it the top React meta-framework
- 90% of JavaScript developers use npm as their package manager
- Vue.js holds a 16.38% usage rate among web frameworks
- Angular usage has stabilized at roughly 17.46% among professional developers
- Vite usage jumped to 48% retention in the State of JS survey
- Jest is the most popular JavaScript testing framework with 60% consistent usage
- 3 million individual libraries depend on Lodash
- Express.js is the most common backend framework utilized by 19.28% of all developers
- Usage of Svelte has grown to roughly 5% usage but with very high satisfaction
- 65% of JavaScript developers use build tools like Webpack or Rollup
- Tailwind CSS (configured via JS) has seen a 16% year-over-year growth in adoption
- Electron is used by 20% of developers building desktop apps with JavaScript
- Over 50% of React developers also use React Router
- Cypress usage for E2E testing in JS has surpassed 30%
- Roughly 26% of JavaScript developers have abandoned Redux for other state managers
- There are over 224 billion npm package downloads per month
Frameworks & Libraries Interpretation
Market Usage & Adoption
- JavaScript is used as a client-side programming language by 98.9% of all websites
- JavaScript has been ranked as the most commonly used programming language for 11 consecutive years
- 63.61% of professional developers reportedly use JavaScript
- JavaScript is the top language used on GitHub based on pull request volume
- Over 4.6 million websites use Node.js for server-side JavaScript execution
- JavaScript ranks #1 in the RedMonk Programming Language Rankings
- 98% of the Fortune 500 companies use JavaScript in their technology stacks
- JavaScript holds a 19.34% share of the PYPL (PopularitY of Programming Language) Index
- There are over 1.8 billion websites in the world and 98% rely on JavaScript
- 76% of organizations in North America use JavaScript for web development
- JavaScript is used by 59.8% of software developers in the Asia-Pacific region
- The TIOBE index consistently ranks JavaScript in the top 7 languages worldwide regardless of paradigm
- 42% of data visualization developers use JavaScript as their primary tool usage (D3.js etc)
- 90% of the top 100k websites by traffic utilize JavaScript
- JavaScript's popularity grew by 500% in the last decade regarding repository creation
- 97% of mobile developers use JavaScript frameworks (React Native/Ionic) for cross-platform dev
- 22% of developers use JavaScript for game development
- JavaScript is the primary language for 32% of IoT developers using Node.js
- 54% of students learning to code start with JavaScript
- JavaScript currently powers the logic of over 30 million active ecommerce sites
Market Usage & Adoption Interpretation
Performance & Codebase Metrics
- The median amount of JavaScript transferred to mobile devices is 460 KB (gzipped)
- The median amount of JavaScript transferred to desktop devices is 503 KB (gzipped)
- Unused JavaScript accounts for 37% of the total script bytes on mobile pages
- 94% of mobile pages utilize at least one third-party JavaScript resource
- JavaScript execution time correlates 0.82 with Total Blocking Time (TBT)
- 56% of JavaScript resources are served with compression (Brotli or Gzip)
- The average web page makes 20 separate HTTP requests for JavaScript files
- Pages using jQuery 3.x are 15% faster (LCP) than those using older versions
- 33% of JavaScript requests are cached effectively by the browser
- Only 17% of sites use the `defer` attribute on their script tags
- Roughly 80% of processing time on the main thread is spent executing JavaScript
- Source maps are detected on only 0.2% of production websites
- Sites with over 1MB of JavaScript have a 25% higher bounce rate
- 48% of all third-party JavaScript scripts are ad-related
- The use of `async` on script tags has decreased to 11% in favor of modules/defer
- Modern JavaScript (ES6+) makes up 76% of script code served today
- JavaScript bundles processed by Webpack average 580ms parse time on low-end mobile
- 29% of JavaScript bytes are wasted due to lack of code splitting
- Using dynamic imports reduces initial JavaScript payload by an average of 30%
- Sites with a Largest Contentful Paint (LCP) under 2.5s have 30% less JavaScript
Performance & Codebase Metrics Interpretation
Security & Metrics
- 64% of all XSS (Cross-Site Scripting) vulnerabilities are due to improper JS sanitization
- 83% of the top 1000 npm packages have at least one known extensive vulnerability
- 51% of JavaScript vulnerabilities are critical or high severity
- The average time to fix a JavaScript vulnerability in production is 22 days
- Use of `eval()` is still present in 0.8% of top pages creating security risks
- 77% of broken access control flaws are found in JavaScript-heavy SPAs
- Prototype pollution vulnerabilities increased by 50% in the last 2 years
- 45% of organisations unknowingly use malicious npm packages (Typosquatting)
- 99% of JavaScript codebases contain open source components with potential risks
- 21% of JavaScript projects have no automated security scanning in place
- Cross-site scripting (XSS) is the #2 most common vulnerability in JS web apps
- Indirect dependencies account for 78% of vulnerabilities in JavaScript projects
- 55% of Docker containers running Node.js have critical security vulnerabilities
- Malicious npm packages have risen by 315% year over year
- 87% of JavaScript applications fail at least one OWASP Top 10 check on the first scan
- Browser-based crypto-jacking scripts affected 1 in 50 websites at peak usage
- 15% of JavaScript repos leak secrets (API keys) in their commit history
- `npm audit` is run by developers 30 million times per week
- 69% of outdated JavaScript libraries in use have a patch available that is ignored
- Server-Side Request Forgery (SSRF) in Node.js apps increased by 20% recently
Security & Metrics Interpretation
Sources & References
- Reference 1TRENDSResearch Publication(2024)Visit source
- Reference 2INDEEDResearch Publication(2024)Visit source
- Reference 3V8Research Publication(2024)Visit source
- Reference 4SURVEYResearch Publication(2024)Visit source
- Reference 5DOCSResearch Publication(2024)Visit source
- Reference 6MADNIGHTResearch Publication(2024)Visit source
- Reference 7THINKWITHGOOGLEResearch Publication(2024)Visit source
- Reference 8BLOGResearch Publication(2024)Visit source
- Reference 9DAXXResearch Publication(2024)Visit source
- Reference 10BLOGResearch Publication(2024)Visit source
- Reference 11DATAVISUALIZATIONSOCIETYResearch Publication(2024)Visit source
- Reference 12STATISTAResearch Publication(2024)Visit source
- Reference 13BLSResearch Publication(2024)Visit source
- Reference 14CONTRASTSECURITYResearch Publication(2024)Visit source
- Reference 15VERACODEResearch Publication(2024)Visit source
- Reference 16CHROMESTATUSResearch Publication(2024)Visit source
- Reference 17GITGUARDIANResearch Publication(2024)Visit source
- Reference 18PORTSWIGGERResearch Publication(2024)Visit source
- Reference 19OCTOVERSEResearch Publication(2024)Visit source
- Reference 20BUILTITINResearch Publication(2024)Visit source
- Reference 21SNYKResearch Publication(2024)Visit source
- Reference 222022Research Publication(2024)Visit source
- Reference 23ALMANACResearch Publication(2024)Visit source
- Reference 24TIOBEResearch Publication(2024)Visit source
- Reference 25SONATYPEResearch Publication(2024)Visit source
- Reference 26COURSEREPORTResearch Publication(2024)Visit source
- Reference 27HACKERRANKResearch Publication(2024)Visit source
- Reference 28SYNOPSYSResearch Publication(2024)Visit source
- Reference 29NPMJSResearch Publication(2024)Visit source
- Reference 30STACKOVERFLOWResearch Publication(2024)Visit source
- Reference 31REDMONKResearch Publication(2024)Visit source
- Reference 32GAMEDEVResearch Publication(2024)Visit source
- Reference 33OWASPResearch Publication(2024)Visit source
- Reference 34W3TECHSResearch Publication(2024)Visit source
- Reference 35VALUECODERSResearch Publication(2024)Visit source
- Reference 36STATEOFJSResearch Publication(2024)Visit source
- Reference 37COURSERAResearch Publication(2024)Visit source
- Reference 38WEBResearch Publication(2024)Visit source
- Reference 39HTTPARCHIVEResearch Publication(2024)Visit source
- Reference 40BLOGResearch Publication(2024)Visit source
- Reference 41ECLIPSEResearch Publication(2024)Visit source
- Reference 42PYPLResearch Publication(2024)Visit source
- Reference 43INTERNETLIVESTATSResearch Publication(2024)Visit source
- Reference 44CWEResearch Publication(2024)Visit source
- Reference 45JETBRAINSResearch Publication(2024)Visit source
- Reference 46DEVSKILLERResearch Publication(2024)Visit source
- Reference 47TELERIKResearch Publication(2024)Visit source

