Topics / #javascript-library

JavaScript-library projects on GitHub

Reusable JavaScript and TypeScript libraries

As of , the most-starred JavaScript-library projects on GitHub are d3 (114K stars), anime (74.9K stars) and echarts (67.8K stars). GitHub.Locker tracks 156 JavaScript-library repositories with 3M stars combined. The fastest-growing on November 30 was kubai-icons, with +81 stars in a day.

156Projects
3MStars in total
+749Stars in a day

Hot right now

Most stars gained in a day · Nov 30

The all-time top

Top 100 of 156 · by stars

  1. #1 · d3/d3

    d3

    D3 (or D3.js) is a free, open-source JavaScript library for visualizing data.

    114K
  2. #2 · juliangarnier/anime

    anime

    Anime.js is a fast, multipurpose and lightweight JavaScript animation library with a simple yet powerful API for animating things on the web.

    74.9K
  3. #3 · apache/echarts

    echarts

    Apache ECharts is a free, powerful charting and data visualization library for browsers, written in pure JavaScript, used to add interactive and highly customizable charts to products.

    67.8K
  1. 4

    redux

    61.4Kreduxjs/redux · TypeScript

    Redux is a JavaScript library for predictable and maintainable global state management — it helps apps behave consistently and makes them easy to test.

  2. 5

    jquery

    60Kjquery/jquery · JavaScript

    jQuery is the classic JavaScript library for DOM manipulation, events, AJAX and effects — this repo holds its source, fresh off the jQuery 4.0.0 release.

  3. 6

    zustand

    58.9Kpmndrs/zustand · TypeScript

    Zustand is a small, fast state-management library for React built on simplified flux principles, with a hook-based API that is not boilerplate-heavy or opinionated.

  4. 7

    pdf.js

    54.2Kmozilla/pdf.js · JavaScript

    PDF.js is a PDF viewer built with HTML5, community-driven and supported by Mozilla. Its goal is a general-purpose, web standards-based platform for parsing and rendering PDFs.

  5. 8

    pretext

    51.1Kchenglou/pretext · TypeScript

    Pretext is a pure JavaScript/TypeScript library for multiline text measurement and layout — fast and accurate, including for languages you may not even know about.

  6. 9

    swiper

    41.9Knolimits4web/swiper · TypeScript

    Swiper is a free open-source mobile touch slider with hardware accelerated transitions and native-like feel, made for mobile websites, mobile web apps and native/hybrid apps.

  7. 10

    styled-components

    41Kstyled-components/styled-components · TypeScript

    A CSS-in-JS library for React: styles are written in JavaScript and turned into styled components, with one API across server components, client components, streaming SSR and React Native.

  8. 11

    chakra-ui

    40.8Kchakra-ui/chakra-ui · TypeScript

    Chakra UI is a component system for building SaaS products with speed: a set of accessible React components for creating web apps and design systems.

  9. 12

    tiptap

    39.1Kueberdosis/tiptap · TypeScript

    Tiptap is a headless, framework-agnostic rich text editor framework for web apps, built on top of ProseMirror and extended through extensions.

  10. 13

    impress.js

    38.2Kimpress/impress.js · JavaScript

    impress.js is a presentation framework that uses CSS3 3D transforms and transitions in modern browsers to create slide decks, inspired by prezi.com.

  11. 14

    marked

    37.3Kmarkedjs/marked · TypeScript

    Marked is a markdown parser and compiler built for speed. You feed it markdown text and get HTML back, and it runs in a browser, on a server, or from the command line.

  12. 15

    date-fns

    36.7Kdate-fns/date-fns · TypeScript

    A modern JavaScript date utility library: 200+ functions for manipulating dates in the browser and Node.js. The README describes it as 'like Lodash for dates'.

  13. 16

    motion

    35.9Kmotiondivision/motion · TypeScript

    Motion is an open source animation library for JavaScript, React and Vue — you may know it by its former name, Framer Motion.

  14. 17

    clipboard.js

    34.1Kzenorocha/clipboard.js · JavaScript

    clipboard.js is a tiny JavaScript library that lets you copy text to the clipboard with a button click, without Flash or any heavy framework.

  15. 18

    floating-ui

    32.8Kfloating-ui/floating-ui · TypeScript

    Floating UI is a small JavaScript library for creating floating elements like tooltips, popovers, and dropdowns, and for wiring up their user interactions.

  16. 19

    lottie-web

    32.5Kairbnb/lottie-web · JavaScript

    Lottie-web is a JavaScript library that parses Adobe After Effects animations exported as JSON via the Bodymovin plugin and renders them natively in the browser, so designers can ship real animations without an engineer hand-coding them.

  17. 20

    editor.js

    32Kcodex-team/editor.js · TypeScript

    A free, open-source, block-style text editor for the web: writers compose content from blocks like text, images, lists and quotes, and it saves the result as clean JSON instead of heavy HTML markup.

  18. 21

    rxjs

    31.7KReactiveX/rxjs · TypeScript

    RxJS is a JavaScript library for composing asynchronous and event-based programs with Observable values. This repo is the platform-based next generation of RxJS, planned for release as RxJS 9.

  19. 22

    webtorrent

    31.5Kwebtorrent/webtorrent · JavaScript

    A streaming torrent client written entirely in JavaScript that runs in node.js and the browser — in the browser it moves data over WebRTC data channels, with no plugins, extensions, or installs.

  20. 23

    jsPDF

    31.3Kparallax/jsPDF · JavaScript

    jsPDF is a JavaScript library for generating PDF documents directly on the client side, in the browser, so you don't need a server to produce PDFs.

  21. 24

    Sortable

    31.2KSortableJS/Sortable · JavaScript

    Sortable is a standalone JavaScript library that turns ordinary lists into reorderable drag-and-drop lists, working in modern browsers and on touch devices.

  22. 25

    GSAP

    30.9Kgreensock/GSAP · JavaScript

    GSAP (GreenSock Animation Platform) is a framework-agnostic JavaScript library for building high-performance animations that work in every major browser.

  23. 26

    cheerio

    30.6Kcheeriojs/cheerio · TypeScript

    Cheerio is a fast, flexible library for parsing and manipulating HTML and XML. It implements a subset of the core jQuery API, so if you know jQuery selectors you already know most of it.

  24. 27

    plyr

    30Ksampotts/plyr · JavaScript

    Plyr is a simple, lightweight, accessible and customizable HTML5, YouTube and Vimeo media player that supports modern browsers.

  25. 28

    JavaScript30

    29.3Kwesbos/JavaScript30 · HTML

    This is Wes Bos's free '30 Day Vanilla JS Challenge': a collection of 30 small projects that teach JavaScript, HTML and CSS fundamentals without any frameworks or libraries, one project per day.

  26. 29

    immer

    29Kimmerjs/immer · JavaScript

    Immer is a small JavaScript library for working with immutable state: you write code that mutates your current state, and it produces the next immutable state tree for you.

  27. 30

    fingerprintjs

    28.8Kfingerprintjs/fingerprintjs · TypeScript

    FingerprintJS is an open-source, client-side browser fingerprinting library: it queries browser attributes and computes a hashed visitor identifier from them.

  28. 31

    async

    28.1Kcaolan/async · JavaScript

    Async is a utility module with straight-forward, powerful functions for working with asynchronous JavaScript, originally designed for Node.js.

  29. 32

    backbone

    28.1Kjashkenas/backbone · JavaScript

    Backbone.js gives structure to JavaScript-heavy applications through Models with key-value binding and custom events, Collections with a rich enumerable API, and Views with declarative event handling, all tied together by syncing data over a RESTful JSON interface.

  30. 33

    mongoose

    27.4KAutomattic/mongoose · JavaScript

    Mongoose is a MongoDB object modeling tool — an ODM for Node.js. You define schemas and work with models that carry validation, defaults, middleware and rich queries, instead of talking to the raw driver.

  31. 34

    ace

    27.1Kajaxorg/ace · JavaScript

    Ace is a standalone, open-source code editor written in JavaScript, built to match the features, usability and performance of native editors like TextMate, Vim, or Eclipse, and it can be dropped into any web page or JS app.

  32. 35

    Modernizr

    25.7KModernizr/Modernizr · JavaScript

    Modernizr is a JavaScript library that detects which HTML5 and CSS3 features the visitor's browser actually supports, so you can adapt the page to each browser instead of assuming they all behave the same.

  33. 36

    core-js

    25.5Kzloirock/core-js · JavaScript

    A modular standard library for JavaScript: polyfills for ECMAScript features up to 2025 — promises, symbols, collections, iterators, typed arrays — plus ECMAScript proposals and some WHATWG/W3C features like URL.

  34. 37

    PhotoSwipe

    25.3Kdimsemenov/PhotoSwipe · JavaScript

    PhotoSwipe is a JavaScript image gallery and lightbox for mobile and desktop — modular, framework-independent code you add to your own web pages.

  35. 38

    winston

    24.5Kwinstonjs/winston · JavaScript

    Winston is a logging library for Node.js that lets you send log messages to multiple destinations at once, like the console, a file, or a database.

  36. 39

    hammer.js

    24.3Khammerjs/hammer.js · JavaScript

    Hammer.js is a JavaScript library that lets a web page recognize touch gestures, so you don't have to interpret raw touch events yourself.

  37. 40

    ramda

    24.1Kramda/ramda · JavaScript

    Ramda is a practical functional library for JavaScript: a set of functions for building functional pipelines in a style that never mutates your data.

  38. 41

    validator.js

    23.7Kvalidatorjs/validator.js · JavaScript

    validator.js is a JavaScript library of string validators and sanitizers — ready-made checks like isEmail, isCreditCard and isDate that you call on user input instead of writing your own regex.

  39. 42

    intro.js

    23.5Kusablica/intro.js · TypeScript

    Intro.js is a lightweight user-onboarding and product-walkthrough library for the web — it adds guided, step-by-step tours that introduce a site or app to its users.

  40. 43

    svgo

    22.8Ksvg/svgo · JavaScript

    SVGO (SVG Optimizer) is a Node.js library and command-line application that optimizes SVG files — cutting away redundant information so they weigh less while rendering the same.

  41. 44

    tabler-icons

    22.7Ktabler/tabler-icons · JavaScript

    Tabler Icons is a collection of over 6200 free, MIT-licensed SVG icons for web projects, every icon drawn on a 24x24 grid with a 2px stroke.

  42. 45

    react-bootstrap

    22.6Kreact-bootstrap/react-bootstrap · TypeScript

    React-Bootstrap is a library that rebuilds Bootstrap 5's UI components as native React components. It is written in TypeScript, published on npm, and lets you use the familiar Bootstrap component set directly inside a React app.

  43. 46

    react-grid-layout

    22.5Kreact-grid-layout/react-grid-layout · TypeScript

    React-Grid-Layout is a draggable and resizable grid layout system for React, similar to Packery or Gridster but with responsive breakpoints built in.

  44. 47

    scrollreveal

    22.5Kjlmakes/scrollreveal · JavaScript

    ScrollReveal is a JavaScript library that animates elements on a web page as they scroll into view.

  45. 48

    redux-saga

    22.4Kredux-saga/redux-saga · JavaScript

    It's a Redux middleware library for managing side effects — async work like data fetching or impure stuff like browser-cache access. Each saga is modelled as a separate thread in your app, solely responsible for those side effects.

  46. 49

    react-native-web

    22.2Knecolas/react-native-web · JavaScript

    React Native for Web is a set of cross-platform React UI packages; this repository is the development monorepo where the react-native-web package and related projects are built.

  47. 50

    markdown-it

    22.1Kmarkdown-it/markdown-it · TypeScript

    markdown-it is a fast Markdown parser for JavaScript with 100% CommonMark support. It also adds syntax extensions and sugar like URL autolinking and a typographer.

  48. 51

    polymer

    22KPolymer/polymer · HTML

    Polymer is Google's original open-source library for building Web Components — encapsulated, reusable custom HTML elements that work just like standard HTML tags in web applications. This repo holds the current stable release, Polymer 3.0.

  49. 52

    lit

    21.9Klit/lit · TypeScript

    Lit is a small open-source library for building fast, lightweight web components — reusable custom HTML elements that work in any modern browser or alongside any framework.

  50. 53

    pug

    21.8Kpugjs/pug · JavaScript

    Pug is a high-performance template engine for Node.js and browsers, heavily influenced by Haml: you write HTML in a clean, whitespace-sensitive syntax and Pug compiles it.

  51. 54

    Inquirer.js

    21.6KSBoudrias/Inquirer.js · TypeScript

    Inquirer.js is a collection of ready-made interactive command line prompts for Node.js CLIs — input fields, selectable lists, checkboxes, confirms and more — so you don't build terminal question UIs by hand.

  52. 55

    jotai

    21.3Kpmndrs/jotai · TypeScript

    Jotai is a primitive and flexible state management library for React. It scales from a simple useState replacement all the way to an enterprise TypeScript application.

  53. 56

    joi

    21.2Khapijs/joi · JavaScript

    joi is a schema description language and data validator for JavaScript: you describe what valid data looks like, and joi checks objects against that description. It comes from the hapi ecosystem but works in any JavaScript project.

  54. 57

    You-Dont-Need-jQuery

    20.1Kcamsong/You-Dont-Need-jQuery · JavaScript

    A reference guide that shows the plain JavaScript (native DOM/BOM) equivalent for common jQuery methods like querying, styling, DOM manipulation, ajax, events, utilities, promises and animation.

  55. 58

    trix

    20Kbasecamp/trix · JavaScript

    Trix is a free, open-source WYSIWYG rich text editor for web applications, built by 37signals (the creators of Ruby on Rails) and used in Basecamp. It is made for everyday writing: messages, comments, articles, and lists.

  56. 59

    apollo-client

    19.8Kapollographql/apollo-client · TypeScript

    Apollo Client is a GraphQL client library for JavaScript and TypeScript apps, providing caching, data fetching, and state management for apps built with React, Vue, Angular, or vanilla JS.

  57. 60

    react-testing-library

    19.7Ktesting-library/react-testing-library · JavaScript

    A lightweight set of React DOM testing utilities that helps you write maintainable component tests which exercise your app the way a user actually uses it.

  58. 61

    tfjs

    19.2Ktensorflow/tfjs · TypeScript

    An open-source, hardware-accelerated JavaScript library for training and deploying machine learning models in the browser and in Node.js.

  59. 62

    relay

    19Kmeta/relay · Rust

    Relay is a JavaScript framework for building data-driven React applications: you declare what data your components need with GraphQL, and Relay handles how and when to fetch it.

  60. 63

    mojs

    18.9Kmojs/mojs · CoffeeScript

    mo.js is an open source JavaScript motion graphics library for the web — fast, retina ready and modular. Using it on a site enhances the user experience and enriches content visually with precise, delightful animations.

  61. 64

    vue-router

    18.9Kvuejs/vue-router · JavaScript

    It is vue-router 3.x, the official router for Vue 2 — it maps URLs to components so a Vue 2 single-page app can move between views. It is part of the Vue Ecosystem.

  62. 65

    matter-js

    18.7Kliabru/matter-js · JavaScript

    Matter.js is a JavaScript 2D rigid body physics engine for the web — a physics simulation you drop into web pages and Node.js apps.

  63. 66

    dropzone

    18.4Kenyo/dropzone · JavaScript

    Dropzone is a JavaScript library that turns any HTML element into a dropzone: users drag files onto it, and it shows previews and progress bars while handling the upload via XHR.

  64. 67

    plotly.js

    18.4Kplotly/plotly.js · JavaScript

    Plotly.js is an open-source JavaScript charting library that draws interactive charts in the browser. It also powers the plotly modules for Python and R (Plotly.py, Plotly.R) and sits behind Plotly and Dash.

  65. 68

    sweetalert2

    18.1Ksweetalert2/sweetalert2 · JavaScript

    A replacement for JavaScript's built-in popup boxes: beautiful, responsive, highly customizable, accessible (WAI-ARIA) dialogs — alerts, confirms, prompts, toasts and modals — with zero dependencies.

  66. 69

    emotion

    18Kemotion-js/emotion · JavaScript

    Emotion is a performant and flexible CSS-in-JS library for JavaScript: you write styles in your JS code instead of separate CSS files. It is one of the most popular libraries in this space.

  67. 70

    twemoji

    17.8Ktwitter/twemoji · HTML

    Twemoji is Twitter's open-source emoji library: it swaps standard Unicode emoji for Twitter's own set so they look the same on every platform. v14.0 follows the Unicode 14.0 and Emoji 14.0 specs.

  68. 71

    classnames

    17.8KJedWatson/classnames · JavaScript

    A tiny JavaScript utility that conditionally joins className strings together, commonly used to build dynamic 'className' props for React and other UI code.

  69. 72

    million

    17.7Kaidenybai/million · TypeScript

    Million.js is an extremely fast and lightweight optimizing compiler for React that makes components up to 70% faster by speeding up reconciliation.

  70. 73

    pouchdb

    17.6Kapache/pouchdb · JavaScript

    PouchDB is an open-source JavaScript database inspired by Apache CouchDB that is designed to run well within the browser, letting web developers build apps that work offline as well as online.

  71. 74

    lenis

    17.4Kdarkroomengineering/lenis · TypeScript

    Lenis (Latin for 'smooth') is a lightweight smooth scroll library for the web by darkroom.engineering, built to make page scrolling feel fluid without hurting performance in modern browsers.

  72. 75

    superagent

    16.6Kforwardemail/superagent · JavaScript

    Superagent is a small, progressive HTTP request library with the same API in the browser and in Node.js, supporting many high-level HTTP client features.

  73. 76

    inferno

    16.5Kinfernojs/inferno · JavaScript

    Inferno is an extremely fast, React-like JavaScript library for building modern user interfaces. It renders a virtual DOM and keeps React's core design ideas: components, one-way data flow and separation of concerns.

  74. 77

    luxon

    16.5Kmoment/luxon · JavaScript

    Luxon is a JavaScript library for working with dates and times — parsing, formatting, and date math, with built-in time zone support.

  75. 78

    cesium

    16KCesiumGS/cesium · JavaScript

    CesiumJS is an open-source JavaScript library for creating 3D globes and 2D maps in the browser without a plugin — WebGL provides hardware-accelerated graphics.

  76. 79

    react-markdown

    15.9Kremarkjs/react-markdown · JavaScript

    A React component that takes a string of markdown and safely renders it as React elements. It is built on the unified ecosystem, using remark for markdown and rehype for HTML.

  77. 80

    not-paid

    15.7Kkleampa/not-paid · JavaScript

    A snippet you embed on a client's site that gradually reduces the body tag's opacity each day until it fades to nothing, as a nudge to pay their overdue invoice.

  78. 81

    gpu.js

    15.5Kgpujs/gpu.js · JavaScript

    GPU.js is a JavaScript library that takes the functions you write and runs them on your GPU as shaders instead of on the CPU — a big speedup for parallel math like matrix multiplication.

  79. 82

    charts

    15.1Kfrappe/charts · JavaScript

    Frappe Charts is a lightweight JavaScript charting library that renders simple, responsive charts as SVG, with zero dependencies.

  80. 83

    hooks

    15Kalibaba/hooks · TypeScript

    This is ahooks, a high-quality and reliable React Hooks library from Alibaba, bundling a large set of ready-made hooks for everyday React development.

  81. 84

    Tone.js

    14.9KTonejs/Tone.js · TypeScript

    Tone.js is a Web Audio framework for creating interactive music in the browser, giving musicians and audio programmers DAW-like features such as a global transport, prebuilt synths and effects, plus low-level building blocks for custom audio processing.

  82. 85

    riot

    14.9Kriot/riot · JavaScript

    Riot is a lightweight component-based UI library that brings custom components (custom tags) to all modern browsers, aiming to give you everything you wished the native Web Components API provided, with a tiny footprint and simple API.

  83. 86

    formatjs

    14.8Kformatjs/formatjs · TypeScript

    FormatJS is a monorepo of JavaScript internationalization (i18n) libraries — message formatting, date/time/number formatting, and pluralization — with react-intl as its most popular package for React apps.

  84. 87

    Snap.svg

    14Kadobe-webplatform/Snap.svg · JavaScript

    Snap.svg is a JavaScript library for creating and animating modern SVG graphics in the browser.

  85. 88

    shiki

    13.9Kshikijs/shiki · TypeScript

    Shiki is a syntax highlighter for code snippets, built on TextMate grammar so the tokenization is accurate and the output is visually clean.

  86. 89

    shepherd

    13.8Kshipshapecode/shepherd · JavaScript

    Shepherd is an open source JavaScript library for building step-by-step product tours, on-boarding flows and feature announcements inside your web app.

  87. 90

    flexsearch

    13.8Knextapps-de/flexsearch · JavaScript

    FlexSearch is a next-generation full-text search library for the Browser and Node.js, built for very high query speed and features like multi-field search, phonetic matching, tag search, and result highlighting.

  88. 91

    sql.js

    13.7Ksql-js/sql.js · JavaScript

    sql.js is a JavaScript library that runs SQLite entirely in the browser (or Node.js), letting you create a relational database and run SQL queries client-side without a server.

  89. 92

    PapaParse

    13.6Kmholt/PapaParse · JavaScript

    Papa Parse is a fast CSV (delimited text) parser for JavaScript that runs in the browser. It is RFC 4180 compliant and handles large files and malformed input gracefully.

  90. 93

    systemjs

    13.1Ksystemjs/systemjs · JavaScript

    SystemJS is a hookable, standards-based module loader that dynamically loads ES modules in the browser.

  91. 94

    prism

    13.1KPrismJS/prism · JavaScript

    Prism is a lightweight, robust, and elegant syntax highlighting library for the web — a spin-off project from Dabblet.

  92. 95

    workbox

    13.1KGoogleChrome/workbox · JavaScript

    Workbox is a collection of JavaScript libraries for Progressive Web Apps: it provides tools and strategies for caching web assets, managing service workers, and handling offline scenarios.

  93. 96

    comlink

    12.8KGoogleChromeLabs/comlink · TypeScript

    Comlink is a tiny library (~1.1kB) that provides an RPC implementation over postMessage for WebWorkers and ES6 Proxies, so you can use an object from another thread as if it were local instead of manually handling postMessage.

  94. 97

    pragmatic-drag-and-drop

    12.8Katlassian/pragmatic-drag-and-drop · TypeScript

    Pragmatic drag and drop is a low-level drag and drop toolchain built on top of the browser's native drag and drop API, used to power drag and drop in Trello, Jira, and Confluence.

  95. 98

    openlayers

    12.7Kopenlayers/openlayers · JavaScript

    OpenLayers is a high-performance JavaScript library for building interactive maps on the web, able to display map tiles, vector data and markers from any source.

  96. 99

    react-native-firebase

    12.3Kinvertase/react-native-firebase · TypeScript

    A set of React Native modules that connect your app to Firebase services — each module is a light-weight JavaScript layer over the native Firebase SDKs for iOS and Android.

  97. 100

    downshift

    12.3Kdownshift-js/downshift · JavaScript

    A set of primitives for building your own autocomplete, combobox, select dropdown or multi-select tag-group components in React, with WAI-ARIA accessibility built in.

Showing the 100 most-starred of 156. See every one in the catalog.

Often tagged together