Updated
What is Zone.js?
Zone.js is a JavaScript library that gives code an execution context, called a zone, that persists across async tasks. It is MIT licensed and is no longer accepting new features.[1][2]
Zone.js is a crucial part of the Angular framework, providing a mechanism for encapsulating and intercepting asynchronous activities in JavaScript. It creates a context that persists across async tasks, allowing for better tracking of asynchronous operations. This is particularly useful for change detection in Angular, as well as for debugging and testing asynchronous code. Zone.js helps manage complex asynchronous workflows by providing hooks to intercept various async operations, making it easier to understand and control the execution flow in JavaScript applications.
Zone.js belongs toJavaScript frameworkscategory.
29websites
use it — 1.1% of the 2,549 websites we scanned in the last 12 months
#15of 43
tools in its category seen in our scans (we recognize 90)
1public pages
on UptimeCard — open any of them to see how that site is doing
1.18% of all websites we track run Zone.js
What is Zone.js used for?
In short, from the websites we scan
- Telling Angular when to update
- Watches DOM events and async tasks as signs that app state may have changed, then triggers change detection.[3]
- Tracking async tasks
- Keeps an execution context across async tasks, like thread-local storage for JavaScript.[1]
- Patching browser and Node APIs
- Patches standard APIs such as DOM events, XMLHttpRequest, EventEmitter and fs so they run inside a zone.[4]
- Testing async code
- Supports Jasmine, Mocha and Jest tests with helpers such as fakeAsync.[1]
- What it does
- Zone.js is one of the JavaScript frameworks websites use. In our scans it is #15 of the 43 we see.
- Used together with
- It is often installed next to Node.js, DigiCert, Amazon CloudFront.
Should you use Zone.js?
The 10-second version, from the vendor’s own pages and what we see in our scans
Support and help for Zone.js
How the vendor says you can reach it, and the public help community
Bug fixes
Only critical bug fixes related to Angular's direct use of Zone.js are accepted[6]
How Zone.js sites protect themselves
Share of the 29 sites we scanned that run each protection
HTTP Strict Transport Security (HSTS) informs browsers that the site should only be accessed using HTTPS
reCAPTCHA is a free service from Google that helps protect websites from spam and abuse
Akamai Bot Manager detect bots using device fingerprinting bot signatures
Protections add up, they do not replace each other: a site can run all of them.
How Zone.js sites are built
Closest partners. The number says how many times more often the tool runs on Zone.js sites than on an average website. Hover a partner for its share of sites.
Usually installed alongside
The bigger the bubble, the more of the 29 Zone.js sites also run the tool. Colour shows what the tool does. Hover or tap a bubble for details.
Similar tools in its category
JavaScript frameworks: 90 tools known, 43 seen in our scans
Who is behind Zone.js
From its own pages and public records, with sources
Maintained by
Angular team[6]
Its story
2013
The angular/zone.js repository was created on GitHub to implement Zones for JavaScript.[9]
2014
The first version, 0.1.0, was released.[10]
2019
Zone.js moved into the Angular monorepo: from version 0.10.0 the changelog compares point into angular/angular rather than angular/zone.js.[5][9]
2020
Version 0.11.1 switched to the Angular Package Format, so importing zone.js loads an ES2015 bundle in ESM format.[5][1]
2025
Zoneless Angular became stable as of Angular 20.2, and Zone.js stopped accepting new features as Angular moved toward zoneless apps.[11][1]
2025
Version 0.16.0 ended support for Internet Explorer and non-Chromium Edge.[5]
2026
Version 0.16.2 added support for patching Vitest in the zone.js testing bundle.[5]
Questions about Zone.js
- What is Zone.js?
- Zone.js is a JavaScript library that gives code an execution context, called a zone, that persists across async tasks. It is MIT licensed and is no longer accepting new features.
- What is Zone.js used for?
- Watches DOM events and async tasks as signs that app state may have changed, then triggers change detection. Keeps an execution context across async tasks, like thread-local storage for JavaScript. Patches standard APIs such as DOM events, XMLHttpRequest, EventEmitter and fs so they run inside a zone. Supports Jasmine, Mocha and Jest tests with helpers such as fakeAsync. Zone.js is one of the JavaScript frameworks websites use. In our scans it is #15 of the 43 we see. It is often installed next to Node.js, DigiCert, Amazon CloudFront.
- Do new Angular apps need Zone.js?
- No. Zoneless change detection is the default from Angular v21, so new apps do not need it.[3]
- Can I remove Zone.js from an Angular app?
- Yes. Zoneless apps should remove it from the build entirely to reduce bundle size.[3]
- Is Zone.js still maintained?
- It is a supported part of Angular, but it takes no new features and only critical bug fixes tied to Angular's own use.[1]
- Why do people remove Zone.js?
- The Angular guide lists better performance, Core Web Vitals, debugging and ecosystem compatibility as reasons to go zoneless.[3]
- Does Zone.js work with Jest, Mocha and Jasmine?
- Yes. Its testing bundle supports all three and adds helpers such as fakeAsync.[1]
- Which license does Zone.js use?
- MIT.[2]
- How many websites use Zone.js?
- We found Zone.js on 29 of the 2,549 websites we scanned in the last 12 months (1.1%). 1 of them have a public status page.
- What are the alternatives to Zone.js?
- Other JavaScript frameworks we recognize include React, Next.js, Vue.js, GSAP.
Is your website built with Zone.js?
Create a free status page that shows your visitors your site is up. It also gives your site its own public page where new people can discover it.
