detect-passive-events
Detect if the browser supports passive events
Found 1225 results for detect scroll in react
Detect if the browser supports passive events
Detect device type and render your component according to it
Node.js implementation of port detector
A simple, performant, and cross-browser hook for handling scroll in your next react app.
Check if a string matches the name of a Node.js builtin module
Detect whether the terminal supports Unicode
Check if the process is running inside a Docker container
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.
Detect whether a terminal supports color
Check if stdout or stderr is interactive
Detect if the current environment is a CI server
Detect the indentation of code
Check if argv has a specific flag
Check if the character represented by a given Unicode code point is fullwidth
Low footprint ECMAScript source code parser
Detect whether a terminal supports hyperlinks
Check if something is a Node.js stream
Get details about the current Continuous Integration environment
Check if a file path is a binary file
Regular expression for getting the root of a posix or windows filepath.
Check if a project is using Yarn
Wrapper component that detects element resize and passes new dimensions down the tree. Based on [element-resize-detector](https://github.com/wnr/element-resize-detector)
Check if the process is running in a Continuous Integration (CI) environment
Detect the file type of a file, stream, or data
Detects clicks outside React components, and also handles keypresses.
Detect whether or not an object is a Typed Array
Check if something is a generator function
Convert and detect character encoding in JavaScript
Unpack a browser type and version from the useragent string
Detect Node.JS (as opposite to browser environment) (reliable)
Check if your package was installed globally
Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects
Check if the process is running inside a container (Docker/Podman)
Check if your code is running as an npm script
Detect Node.JS (as opposite to browser environment). ESM modification
Check whether operating system CPU architecture is 64-bit or 32-bit (Supports browsers)
Detect if your code is running on an AWS Lambda server
Detect which package manager you're using (yarn or npm)
A tool to get browser's scrollbars width.
Check if something is a promise
Check if a file path is a text file
Get the operating system CPU architecture
Check if a string is an IP address
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
Run the Node.js binary no matter what
Detects if a file exists and returns the resolved filepath.
detect available port
Offline and Online components for React
Detect native Uint32Array support.
Detect native Symbol support.
Detect native Symbol.toStringTag support.
Isomorphic, functional type-checking for Javascript
Detect native Float32Array support.
Detect native Float64Array support.
Detect native Uint16Array support.
Check if a value is a Fetch network error
Detect native Buffer support.
Detect native Uint8Array support.
A simple binding to Google's cpu_features library for obtaining information about installed CPU(s)
Provides utilities to check if ad block is enabled on a page via both a React hook and a wrapper component.
Check if a Buffer/Uint8Array is a GZIP file
Check if a number is a redirect HTTP status code
Detect and extract the static part of a glob string
find undeclared identifiers and property accesses in a javascript file.
Classify GPU's based on their benchmark score in order to provide an adaptive experience.
Check if Electron is running in development
Detect the indentation of code (commonjs fork)
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
Check if a string is SVG
Detect the archive type of a Buffer/Uint8Array
Check if a value is an Observable
Detect the archive type of a Buffer/Uint8Array
Check if the current Linux session is using Wayland
Device detection (phone, tablet, desktop, mobile grade, os, versions)
Check if a value is a function
Regular expression matching for URL's. Maintained, safe, and browser-friendly version of url-regex. Resolves CVE-2020-7661. Works in Node v10.12.0+ and browsers.
Checks if the given value is a window object.
Analyze circular dependencies in your JavaScript/TypeScript projects.
Check if a string only contains alphanumeric characters
Check if a Buffer/Uint8Array is a PNG image
Check if a string is a scoped npm package name
Detect if a device is mouse only, touch only, or hybrid
Check if the internet connection is up
Check if the process is running inside a Podman container
Check if a Buffer/Uint8Array is a JPEG image
Check if a Buffer/Uint8Array is a GIF image
Charset Detector - Detect the encoding and language of text files - Use it in the browser, with Node.js, or via CLI
Check if a Buffer/Uint8Array is a TAR file
Check if a string is HTML
capability.js - javascript environment capability detection
A Svelte action that monitors an element enters or leaves the viewport or a parent element. Performant and efficient thanks to using Intersection Observer under the hood.
check if an AST node is a function of some sort
Check if a value is a `Blob`
Detect native generator function support.
Check if servers are reachable
check if an AST node is a MemberExpression, in general or a specific one
Check if browser is Firefox
Detect native Int32Array support.
Check if a Buffer/Uint8Array is available for cwebp image source
Detect if the current device support the specified emoji
Detect native Int16Array support.
Check if browser is Internet Explorer
Detect the language of text
Detect native Uint8ClampedArray support.
Resolve the preferred locale based on the value of an `Accept-Language` HTTP header.
Detect native Int8Array support.
Returns `true` if a value exists in the given string, array or object.
Collection of 70+ type, feature & value checks
detect in-app browsers
Detect and Normalize the newline characters
Detect the appearance of an element in the browser DOM
Checks if the given value is null or undefined
check if the current node version has async_hooks.
Analyze circular dependencies in your JavaScript/TypeScript projects with Rust.
Detect and validate file types by their signatures (✨magic numbers✨)
Platform detection: NodeJS? React? ReactNative? Expo? etc.
Detect the language of text
Detect native Symbol.iterator support.
Checks if the given value is a native function.
Check if a Buffer/Uint8Array is a ZIP file
Detect the image type of an ArrayBuffer/Uint8Array
Detect if current process is a node application or not.
Instantly detect support for WEBP images in the browser in 0.2KB
Get the language associated with a file extension or the extensions associated with a language using the data from GitHub's [Linguist YAML file](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml)
Detect the audio type of a Buffer/Uint8Array
Check if a Buffer/Uint8Array is a BZIP2 file
Checks that given package is installed globally or locally.
Check if a string is an IP address
4-directional swipe detection for react-native.
Detect native function name support.
JavaScript module detecting bots/crawlers/spiders via user-agent
Count syllables in English words
Check if the process is running with elevated privileges
React component to detect browser
@wora NetInfo
Check if a string is a valid filename
Helpers for handling mobile devices
A proxy to `path`, replacing `\` with `/` for all results
JavaScript wrapper for pointer and any-pointer media queries
Get the name of a project, from package.json, git config, or basename of the current working directory.
Detect if the browser supports the touch events api
A React component that renders its children if an ad blocker is detected
JavaScript wrapper for hover and any-hover media queries
Determine whether an element is completely within the browser viewport
Executes a command when a change is detected in specified files. Not an active file watcher.
Detect if DevTools is open and its orientation
Language detection for Javascript. Based on the CLD2 (Compact Language Detector) library from Google. Highly optimized for space and speed. Runs about 10x faster than other libraries. Detects over 160 languages. Full test coverage. Runs on Linux, OS X, an
Arcjet runtime detection
Check if something is a Node.js stream. This is a fork of sindresorhus/is-stream, but with CommonJS support.
TypeScript / JavaScript library for detect WebAssembly features in node.js & browser
Check if a JavaScript environment has a DOM
Simplify detecting your browser
Get the version of the package.json file found in the given directory or in one of its parents.
Detect which ES6 (ES2015 and above) features are available
Detects active internet connection, and API server status in Angular application.
Scans a repository directory, searching for a changelog file
Check if the process is running as administrator on Windows
Get document, if there’s DOM.
a lightweight Events API for detecting scroll and touch events based on custom sensitivity
@wora Detect Network
Detect whether the code is running in TS Node
detect container resizing
ES6 and ES7 feature detection.
XML detection plugin for file-type
Simple and Performant Language detection library (pure JS and zero dependencies)
The React hook to detect if the device is mobile or desktop.
check if an AST node is a call to require()
JavaScript/TypeScript filter and checker for bad words aka profanity
Scrypted Video Analysis Plugin. Installed alongside a detection service like OpenCV or TensorFlow.
Check if a file path is an image
react network detection hooks
React adblock detector
Detect the MIME type of a Buffer, Uint8Array, ArrayBuffer, ReadableStream, file path and file name, with async method.
Detect browser language
Glin-Profanity is a lightweight and efficient npm package designed to detect and filter profane language in text inputs across multiple languages. Whether you’re building a chat application, a comment section, or any platform where user-generated content
check if an AST node is a call to require()
Checks the filesystem for potential license files and attempts to detect what they are
find and identify a cycle in a directed graph
Check if an Array is sorted
Check if a Buffer is a STUN message.
Check whether a file can be executed
Scrypted OpenVINO Object Detection
Regular expression matching for email addresses. Maintained, configurable, more accurate, and browser-friendly alternative to email-regex. Works in Node v14+ and browsers. Made for Spam Scanner and Forward Email.
Checks if the given value is an array or array-like object.
Detect if the network is up (do we have connectivity?)
Regex for matching dot-directories, like `.git/`
Check if a String/Buffer/ArrayBuffer is OTF
It's FuckAdBlock with a minimalist API.
Detect character encoding using ICU
Detect native DataView support.
Check if a String/Buffer is TTF
Detect native ArrayBuffer support.
Quickly detect the EOL used in a string.
Detect the language of text
Utility to check if internet is connected or not
Check if a file path is a video file
Detects where the current browser extension code is being run. Compatible with Firefox, Chrome and derivates.
Lint HTML and template source files for hardcoded (untranslated) strings
🃏 Minimalistic isomorphic library for detection of platform, runtime, APIs and more.
Detect native BigInt support.
anchor scroll detect for react
Discover the variable names chosen for each of a file's top-level required modules
Detects if a file is binary based on its content
Detect copy-pasted and structurally similar code. Supports ES2020 standard (and most proposed features), TS and TSX files. Using Babel 8's parser.
A pitch-detection library for node and the browser
a lightweight Events API for detecting scroll and touch events based on custom sensitivity
migration tool for sequelize & typescript users
check browser and browser's version from userAgent
Feature detection in the browser before loading polyfill using services like polyfill.io
Detect when an element is ready in the DOM
Check if a Buffer/Uint8Array is WOFF
Detect if a Node.js process is in the debug mode.
Converts between RSA key formats, detecting input format (PEM, DER, PKCS1, PKCS8). No OpenSSL needed.
Detect file type by signature
Check if a Buffer/Uint8Array is a FLAC file.
Check if a buffer/Uint8Array is a woff2 file
Regular expression for matching words in a string. Support for english, CJK and Cyrillic.
Check if a Buffer/Uint8Array is EOT
Superset of RESPONSIVE DIRECTIVES to show or hide items according to the size of the device screen and another features in Angular 9
Detect the character encoding using Google’s compact_enc_det library
Detect unused CSS in angular components
Library to check unused resolvers at Ovrsea
Fork of cld with pre-built binaries for OS X and Linux. Language detection for Javascript. Based on the CLD2 (Compact Language Detector) library from Google. Highly optimized for space and speed. Runs about 10x faster than other libraries. Detects over 16
Scrypted CoreML Object Detection
Check if a Buffer/Uint8Array is a wav file.
Detect structural similarities in your code
Scrypted Tensorflow Lite Object Detection
Check if a Buffer/Uint8Array is an OGG file.
Detect Node.JS (as opposite to browser environment) (reliable)
Detects browser and React Native source-code bundlers
Checks if the given value is a valid array-like index.
Check if a Buffer/Uint8Array is a m4a file.
Detects whether browser has an active internet connection or not in Angular application.
Check if a Buffer/Uint8Array is a MP3 file.
React Native component that notifies if the user is active state or inactive sate (i.e. when the app surface hasn't been touched for more than a certain amount of second than it will be move to Inactive State means Inactive Screen).
JavaScript module to check if user agent to return the device and browser.
Simple module for getting the current mouse position in element or window.
Check whether a string has any emoji
React hook for checking mouse acceleration
Fast and native browser detection on Windows
Read a glob of files, dynamically choosing the reader or requiring the files based on the file extension.
Get details about the current Continuous Integration environment
Lightweight React hook for checking health of API services.
Match the words in a string. Support for english, CJK and Cyrillic.
detect available port
React context provider and hook to check if the internet connection is up
Detect the license of node.js projects and their dependencies
A small and simple utility package that can validate any kind of image. It can detect corrupt files, or invalid image urls