--- license: mit task_categories: - text-generation language: - en tags: - code - javascript --- **JavaScript-Code-Large** JavaScript-Code-Large is a large-scale corpus of JavaScript source code comprising more than 5 million JavaScript files. The dataset is designed to support research in large language model (LLM) pretraining, code intelligence, software engineering automation, and program analysis for the JavaScript ecosystem. By providing a high-volume, language-specific corpus, JavaScript-Code-Large enables systematic experimentation in JavaScript-focused model training, domain adaptation, and downstream code understanding tasks. JavaScript-Code-Large addresses the need for a dedicated JavaScript-only dataset at substantial scale, enabling focused research across frontend, backend, and full-stack JavaScript environments. . **1. Dataset Composition** Programming Language: JavaScript File Count: 5M+ JavaScript files File Format: .jsonl Content Types The dataset includes a wide variety of JavaScript constructs and paradigms, such as: - Functions (declarations, expressions, arrow functions) - Classes and prototypes - Modules (CommonJS and ES Modules) - Asynchronous patterns (async/await, Promises, callbacks) - Event-driven code - Closures and higher-order functions - Functional programming constructs - DOM manipulation code - Node.js backend logic - Frontend framework components - JSDoc comments - Error handling patterns - Modern ES6+ features