11 repository-uri
Implementations of signal-based controllers to terminate active network requests and release resources.
Distinct from Event Listeners: Candidates focus on messaging apps (Signal) or UI event listeners; this is a network request lifecycle architectural feature.
Explore 11 awesome GitHub repositories matching networking & communication · Request Abort Controllers. Refine with filters or upvote what's useful.
This project is a technical interview preparation resource focused on JavaScript. It provides a collection of common technical questions, detailed answers, and conceptual quizzes designed to help users master core language fundamentals and browser APIs. The resource utilizes an interactive infrastructure that includes a coding workspace with in-browser runtime execution and an automated test suite to validate code correctness. It organizes content through curated learning paths and modular concept mapping to decompose complex language fundamentals into searchable study modules. The curriculu
Provides instructional material on using AbortControllers to terminate active network requests in JavaScript.
node-fetch is a promise-based HTTP client library that provides a lightweight implementation of the Fetch API for the Node.js runtime. It serves as a network interface for performing asynchronous HTTP requests, handling server communication, and managing headers. The library utilizes a promise-based request lifecycle to wrap network calls, ensuring asynchronous behavior. It incorporates stream-based handling for both requests and responses to process large payloads efficiently without overloading system memory. Its capabilities cover a broad range of network communication tasks, including th
Integrates with AbortController to listen for signal events and terminate active network requests immediately.
vanilla-lazyload is a JavaScript lazy loading library and viewport-based asset loader designed to improve page load speed by deferring the loading of images, videos, iframes, and backgrounds. It functions as an intersection observer media loader that triggers resource downloads and script execution only when elements enter the browser viewport. The project also serves as a native lazy loading polyfill, utilizing native browser loading attributes where supported and providing a JavaScript fallback for older environments. The library distinguishes itself through active bandwidth management, suc
Aborts active media downloads when elements exit the viewport to preserve bandwidth.
js-ipfs is an HTTP client library that connects to any IPFS daemon, enabling JavaScript applications to interact with the InterPlanetary File System. It provides a promise-based asynchronous API for managing content-addressed storage, where all data is identified by cryptographic hashes (CIDs) for immutable references and deduplication. The library communicates with a remote IPFS node through HTTP requests, supporting cancellation of in-flight operations via standard AbortController signals. The library offers a comprehensive set of capabilities for working with IPFS, including adding and ret
Implements signal-based abort controllers to cancel active network requests.
zlib is a lossless data compression library that implements the deflate compression algorithm, combining LZ77 sliding window and Huffman coding. It provides the core compression and decompression engines, along with support for gzip, zlib, and raw deflate stream formats, enabling data to be compressed and restored without any loss of information. The library offers a range of capabilities for handling compressed data, including single-call memory and file operations, as well as incremental stream-based processing for working with data larger than available memory. It includes mechanisms for a
Provides a flag-based mechanism to abort compression or decompression operations on demand.
Ships a language-level abort mechanism that stops function execution on condition.
rimraf este un instrument Node.js pentru ștergerea recursivă a fișierelor și un utilitar de sistem de fișiere cross-platform. Oferă atât o bibliotecă programatică, cât și o interfață CLI pentru eliminarea fișierelor și directoarelor și a întregului lor conținut pe diferite sisteme de operare. Utilitarul suportă ștergerea fișierelor bazată pe glob, permițând eliminarea elementelor care se potrivesc cu tipare wildcard specifice, în loc de simple căi literale. Include, de asemenea, capacitatea de a întrerupe procesele de ștergere în timpul execuției și de a aplica filtrare bazată pe predicate personalizate pentru a exclude fișiere sau foldere specifice. Proiectul acoperă capabilități largi de gestionare a sistemului de fișiere, inclusiv parcurgerea recursivă depth-first, normalizarea căilor cross-platform și I/O asincron. Aceste caracteristici permit sarcini precum eliminarea automată a artefactelor de build și curățarea generală a spațiului de lucru al proiectului.
Allows stopping a recursive removal process mid-execution using an abort signal for large directory structures.
Compressorjs is a client-side image compression library that reduces file sizes in the browser before upload, using the HTML Canvas API to re-encode images into smaller File or Blob objects. It supports JPEG, PNG, and WebP formats, with configurable quality and dimension controls to balance file size and visual fidelity. The library distinguishes itself through several integrated capabilities. It reads Exif orientation metadata from JPEG images and automatically rotates or flips the canvas to ensure correct display after compression. An AbortController integration allows cancellation of an in
Integrates an AbortController to cancel an in-progress compression task and free resources.
oboe.js este un parser JSON de streaming și un client HTTP stream conceput pentru procesarea incrementală a datelor. Permite aplicațiilor să acționeze asupra obiectelor JSON individuale pe măsură ce sosesc dintr-o cerere de rețea sau un stream, înainte ca descărcarea completă să fie finalizată. Biblioteca funcționează ca un transformator de stream JSON, permițând modificarea, filtrarea și maparea nodurilor în timp real. Dispune de selecție de noduri bazată pe path pentru a declanșa callback-uri atunci când sunt identificate tipare specifice și poate închide conexiunea de rețea imediat ce datele necesare sunt găsite, pentru a economisi lățimea de bandă. Pentru a gestiona seturi de date mai mari decât memoria disponibilă a sistemului, biblioteca utilizează gestionarea memoriei bazată pe stream pentru a elimina nodurile procesate. De asemenea, suportă fuziunea înregistrărilor istorice cu actualizări în timp real prin conexiuni de lungă durată și oferă posibilitatea de a recupera date parțiale dacă o conexiune este întreruptă.
Provides mechanisms to terminate active network requests and immediately halt the processing of buffered content.
Solana Web3.js is a TypeScript and JavaScript client library for interacting with the Solana blockchain. It functions as a web3 client that provides an RPC wrapper for managing network requests and a toolkit for querying account state and executing on-chain program instructions. The library includes a specialized cryptography interface for generating key pairs and performing asynchronous signing and verification using web cryptography standards. It also provides a serialization tool for encoding and decoding data between JavaScript objects and byte buffers to match on-chain program state. Th
Allows cancelling pending network requests using controllers to manage timeouts and user navigation events.
Browser image compression is a JavaScript utility designed to reduce image file sizes directly within the web browser. By adjusting dimensions and quality settings locally, the library minimizes bandwidth usage and storage requirements before files are uploaded to a server. The library maintains interface responsiveness by offloading heavy image manipulation tasks to background worker threads. It manages large image files using memory-efficient binary objects and utilizes the browser canvas application programming interface to re-encode data into formats such as JPEG or WebP. Users can contr
Provides mechanisms to halt compression operations mid-process using standard browser signals to stop unnecessary work.