react-detect-click-outside
Detects clicks outside React components, and also handles keypresses.
Found 1212 results for detect
Detects clicks outside React components, and also handles keypresses.
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
Checks the filesystem for potential license files and attempts to detect what they are
Offline and Online components for React
check if an AST node is a call to require()
Checks if the given value is an array or array-like object.
Detect the MIME type of a Buffer, Uint8Array, ArrayBuffer, ReadableStream, file path and file name, with async method.
Count syllables in English words
Detect native Symbol.iterator support.
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)
Arcjet runtime detection
It's FuckAdBlock with a minimalist API.
Check whether a file can be executed
Check if a JavaScript environment has a DOM
Check if a file path is a video file
Detect native function name support.
Provides utilities to check if ad block is enabled on a page via both a React hook and a wrapper component.
Check if a String/Buffer is TTF
Check if an Array is sorted
Get document, if there’s DOM.
Regex for matching dot-directories, like `.git/`
Check if something is a Node.js stream. This is a fork of sindresorhus/is-stream, but with CommonJS support.
Executes a command when a change is detected in specified files. Not an active file watcher.
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 a String/Buffer/ArrayBuffer is OTF
Utility to check if internet is connected or not
check browser and browser's version from userAgent
Detect whether the code is running in TS Node
Detects if a file is binary based on its content
Check if a Buffer is a STUN message.
Get the version of the package.json file found in the given directory or in one of its parents.
detect in-app browsers
🃏 Minimalistic isomorphic library for detection of platform, runtime, APIs and more.
Detect if the network is up (do we have connectivity?)
Detects active internet connection, and API server status in Angular application.
Check if a Buffer/Uint8Array is WOFF
JavaScript module to check if user agent to return the device and browser.
Check if a Buffer/Uint8Array is EOT
find and identify a cycle in a directed graph
Check if a buffer/Uint8Array is a woff2 file
Detect the language of text
Detect Node.JS (as opposite to browser environment) (reliable)
Check if a Buffer/Uint8Array is a FLAC file.
Detect character encoding using ICU
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 a valid array-like index.
Detect file type by signature
Check if a Buffer/Uint8Array is a MP3 file.
Check if a Buffer/Uint8Array is a m4a file.
Check if a Buffer/Uint8Array is a wav file.
Detect structural similarities in your code
Determine whether an element is completely within the browser viewport
Discover the variable names chosen for each of a file's top-level required modules
Check if a Buffer/Uint8Array is an OGG file.
Read a glob of files, dynamically choosing the reader or requiring the files based on the file extension.
Lint HTML and template source files for hardcoded (untranslated) strings
detect available port
Detect if DevTools is open and its orientation
Quickly detect the EOL used in a string.
JavaScript/TypeScript filter and checker for bad words aka profanity
A simple, performant, and cross-browser hook for handling scroll in your next react app.
Detect native DataView support.
A small and simple utility package that can validate any kind of image. It can detect corrupt files, or invalid image urls
Detect when an element is ready in the DOM
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
Detect browser language
Detect image dimensions via request.
Detect native BigInt support.
Fast and native browser detection on Windows
Detect native ArrayBuffer support.
Get details about the current Continuous Integration environment
Regular expression for matching words in a string. Support for english, CJK and Cyrillic.
Library to check unused resolvers at Ovrsea
Detect the character encoding using Google’s compact_enc_det library
Converts between RSA key formats, detecting input format (PEM, DER, PKCS1, PKCS8). No OpenSSL needed.
Detect the current chrome version in the browser
Regular expresson for matching dotfiles.
Simple module for getting the current mouse position in element or window.
Detects where the current browser extension code is being run. Compatible with Firefox, Chrome and derivates.
Detect copy-pasted and structurally similar code. Supports ES2020 standard (and most proposed features), TS and TSX files. Using Babel 8's parser.
Check if a Buffer/Uint8Array is a APNG (Animated PNG) image
migration tool for sequelize & typescript users
A pitch-detection library for node and the browser
A browser detection package that uses feature detection instead of user agent
JS Library to detect browser, os and device based on the UserAgent String, forked by John Carmichael for ease of use.
Match the words in a string. Support for english, CJK and Cyrillic.
Feature detection in the browser before loading polyfill using services like polyfill.io
The React hook to detect if the device is mobile or desktop.
The simplest way for detecting HTML content.
Detect the programming language of any file.
Checks if the browser supports WebP. Cheaply and synchronously.
Adblock detector
Detect unused CSS in angular components
A React component that renders its children if an ad blocker is detected
Checks if internet is available using http2, node v8.4.0+ only
Offline and Online components for Vue
Check if a Buffer/Uint8Array is a 7ZIP file
Checks if the file path is zip file. It does not read the complete file nor it depends upon file extension
Check if Node script is running on AppVeyor
A microlibrary to detect whether Node.js runs inside a Docker container or not
Check whether or not a directory and its descendants are valid
Detects whether browser has an active internet connection or not in Angular application.
Detect the license of node.js projects and their dependencies
Check if a string is XML
Detect if Mocha is running
Scrypted CoreML Object Detection
Check if browser is Safari
Detect environment (native, server side, web, etc.)
Detect support for emoji character sets.
Check if a Buffer/Uint8Array is a RAR file
Identify the network your users are using!
Utility methods to detect runtimes and load modules dynamically.
detects node runtime
4-directional swipe detection for react-native.
Device resolution detection module
React component to detect browser
A path of the currently executed npm CLI
Detectizr is a Modernizr extension to detect device, browser, operating system and screen.
Convert a mime type to a file extension. It works only with popular mime types and it's super lightweight.
Which GitHub page are you on? Is it an issue? Is it a list? Perfect for your WebExtension or userscript.
Check if your code is running on Heroku
Scrypted Video Analysis Plugin. Installed alongside a detection service like OpenCV or TensorFlow.
Check if your code is running as an npm script
Automatically moderate your content with Moderation API
Hunt down `.only`s before it's too late.
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
Check whether a string has any emoji
detect the properties in one lib
Superset of RESPONSIVE DIRECTIVES to show or hide items according to the size of the device screen and another features in Angular 9
Convert CSS color strings to RGBA and check whether they are light or dark
Strictly and correctly checks if value is a nodejs stream.
A CommonJS port from the ESM file-type package. Now fixed to not have 'tarHeaderChecksumMatches' error!
Check if a given string is css compatible color value
Check if a value is a Fetch network error
Detect if a Node.js process is in the debug mode.
Detect the current iOS version in the browser
Multi Languages Detection for Text-Mining and Natural Language Processing - True ITK - Open Source
Detects Dependencies In The Source File.
Check if a value is an error constructor
Scrypted OpenVINO Object Detection
Get the users' most preferred locale/language from your app's available translations with zero dependencies
Detect if a visitor is coming through a webview or a native browser using user-agent.
react network detection hooks
Detect if a string contains traditional or simplified Chinese characters.
@wora NetInfo
Modified version of Nick Drewe's tc or sc checker.
Check if a Buffer/Uint8Array is a WebP image
An *Ackchyually* browser compatible file-type hacky replacement of the `file-type` package. Forked from https://github.com/sindresorhus/file-type
Check if a Buffer/Uint8Array is a 7ZIP file
detect container resizing
Check if pnpm is available.
It's FuckAdBlock with a minimalist API.
Parse HTTP headers to detect the device type, model, operating system, browser, and crawler information
Check if a number is a HTTP success status code
Check if a `package-lock.json` is present in the working directory
Detect lockfiles in the working directory
Detect whether a terminal or browser supports ansi colors.
Synchronously check if a file is a symbolic link
Check if a project is using pnpm.
Detects browser and React Native source-code bundlers
Check if a Buffer/Uint8Array is a TIFF image
Detect raspberry pi revision
Detect the file type of a Buffer/Uint8Array in ES5 (can be used for browser and create-react-app
Check Internet Availability for your vue app
Superset of RESPONSIVE DIRECTIVES to show or hide items according to the size of the device screen and another features in Angular 2
CLI to detect the language of text
A module to verify if there's an active internet connection with Node.js
Check if a string is an IP address. This is a fork of sindresorhus/is-ip, but with CommonJS support.
Report browser settings like whatsmybrowser.org.
Call a callback when an image has loaded - adapted from desandro/imagesloaded
A device detector plugin of Vue 3
Check if a Buffer/Uint8Array is a JPEG XR image
Check if a Buffer/Uint8Array is a BMP image
Check if a Buffer/Uint8Array is a PSD image
Platform detection: NodeJS? React? ReactNative? Expo? etc.
Check if a filepath has extension(s)
A small utility to detect screen (viewport) size (resolution height and width) and listener to resize event with additional features
Server side mrz (Machine Readable Zone) scanner.
Javascript detect retina screen (javascript detect device pixel ratio / density)
Hijacks NodeJS Stream and emits events when newline(s) written to the output.
Detect the width and height of images in a stream
Make detecting user's OS less annoying
React adblock detector
Detect whether you're running on node.js or io.js
ecmascript version detector
Detect the OS from a User-Agent string.
Check if JPEG images are progressive
@wora Detect Network
Magic number detector for javascript
Check if your code is running on Travis
is-real-image is a lightweight and efficient Node.js package that allows you to verify if a file is a real image based on its extension, signature (magic number), or both. This package ensures that the provided image file is valid by checking the file's e
Classify GPU's based on their benchmark score in order to provide an adaptive experience.
Check if a Buffer/Uint8Array is a PDF file.
Check if the current web browser has any ad blockers (AdBlock, Adblock Plus, uBlock, AdGuard, ...) enabled.
JS library that detects new DOM nodes using CSS selectors
Cordova/Phonegap plugin to determine if current device is a tablet.
Scrypted ONNX Object Detection
Check if the internet connection is up. This is a fork of sindresorhus/is-online, but with CommonJS support.
Check if `npm-shrinkwrap.json` is present in the working directory
Detect the file type of a file, stream, or data
检测设备类型,根据设备类型渲染内容
A touchevent swipe detection utility for JavaScript applications.
Scrypted OpenCV Motion Detection Service.
Detects the BPM of a song or audio sample
One-file interface to detect whether your content script have loaded.
VM Detection Library for Nodejs & Electron
Detect device type and render your component according to it
Check if a Buffer is a RTP/RTCP message.
> Detect the file type of a base64 The file type is detected by checking the [magic number] of the base64.
Detect device type and render content based on device type
Uses AST to extract AMD modules, their parts and an optimized output without unused dependencies while keeping the original format.
Tiny developer-friendly JS library that provides information about host browser
0D/1D/2D/3D/4D tensors with extensible polymorphic operations and customizable storage
React componant that renders based on device
Is Env - Environment Detecter
Superset of RESPONSIVE DIRECTIVES to show or hide items according to the size of the device screen and another features in Angular 15
Live request detection for Mocha
An operator for mouse and keyboard in nodejs.
A React Hook Library for Detecting Fonts
Handy Angular package for screen detecting
ECMAScript feature and API detection
Check if a filepath is a video file in a web browser
detects support for rendering PDF in browser
Get the monitor refresh rate.
Is it a touchable device?
Detect which font your system has cherry-picked from font-family.
Detect if the browser supports the pointer events api
Detect if WebGL is enabled in the current environment.
Detect structural similarities in your code
Detects active internet connection in Angular application.
Detect whether $PAGER supports color
ESLint Plugin to forbid rendering hardcoded strings in the JSX tree
Check if a string is HTML
User agent feature detection like Device Orientation, in App Browser Detection, etc
React context provider and hook to check if the internet connection is up
Detect a string or buffer is SVG or not
A CLI tool to detect the node package manager used in a project
Detect the file type of a Buffer/Uint8Array
Detects your browser, device and platform
Detects the nearest preferred locale.
Async module that resolves when a target element has entered the viewport at a threshold, using Intersection Observer API
check if the environment supports { ...a } spread syntax
check if unicode is supported
Check whether you are connected to Network or not
Checks if the given token is an ES keyword.
Detect native WebAssembly support.
Detect SEO Bot Crawler
A JavaScript library designed to simplify the process of detecting if the Adobe Flash Player is installed in a Web Browser.
Checks if the given value is a valid array-like length.
Regular expression for matching the whitespace in a string.