react-device-detect
Detect device type and render your component according to it
Found 1211 results for detect
Detect device type and render your component according to it
Run the Node.js binary no matter what
Check if a Buffer/Uint8Array is a GIF image
Check if a string is HTML
Detect native Symbol support.
Check if a Buffer/Uint8Array is a JPEG image
Detect native Uint32Array support.
Detect native Symbol.toStringTag support.
Detect native Float64Array support.
Detect native Uint16Array support.
Check if a Buffer/Uint8Array is a TAR file
Detect native Float32Array support.
Detect native Buffer support.
Detect the indentation of code (commonjs fork)
check if an AST node is a function of some sort
Check if browser is Firefox
Detect native Uint8Array support.
Check if a value is a `Blob`
Check if a Buffer/Uint8Array is available for cwebp image source
Detect if the browser supports passive events
Device detection (phone, tablet, desktop, mobile grade, os, versions)
Detect if a device is mouse only, touch only, or hybrid
Check if Electron is running in development
Analyze circular dependencies in your JavaScript/TypeScript projects.
Check if browser is Internet Explorer
Check if the process is running inside a Podman container
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 null or undefined
Detect and Normalize the newline characters
Collection of 70+ type, feature & value checks
check if the current node version has async_hooks.
Checks if the given value is a native function.
Detect the audio type of a Buffer/Uint8Array
check if an AST node is a MemberExpression, in general or a specific one
Check if the internet connection is up
Check if servers are reachable
Detect the image type of an ArrayBuffer/Uint8Array
Detect if the current device support the specified emoji
Check if a string is an IP address
Check if a Buffer/Uint8Array is a ZIP file
capability.js - javascript environment capability detection
Detect the language of text
JavaScript wrapper for pointer and any-pointer media queries
Check if a value is a function
Check if a string is a valid filename
A proxy to `path`, replacing `\` with `/` for all results
Check if a Buffer/Uint8Array is a BZIP2 file
JavaScript wrapper for hover and any-hover media queries
Charset Detector - Detect the encoding and language of text files - Use it in the browser, with Node.js, or via CLI
Detect if the browser supports the touch events api
Detect if current process is a node application or not.
Detect and validate file types by their signatures (✨magic numbers✨)
TypeScript / JavaScript library for detect WebAssembly features in node.js & browser
Simplify detecting your browser
Detect the appearance of an element in the browser DOM
Detect the language of text
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)
Returns `true` if a value exists in the given string, array or object.
Detect which ES6 (ES2015 and above) features are available
Check if the process is running as administrator on Windows
JavaScript module detecting bots/crawlers/spiders via user-agent
Scans a repository directory, searching for a changelog file
Detect native Int32Array support.
Detect native Int16Array support.
Resolve the preferred locale based on the value of an `Accept-Language` HTTP header.
Get the name of a project, from package.json, git config, or basename of the current working directory.
Checks that given package is installed globally or locally.
detect container resizing
Check if the process is running with elevated privileges
Detect native Uint8ClampedArray support.
Check if a file path is an image
ES6 and ES7 feature detection.
Detect native generator function support.
Instantly detect support for WEBP images in the browser in 0.2KB
Analyze circular dependencies in your JavaScript/TypeScript projects with Rust.
check if an AST node is a call to require()
Simple and Performant Language detection library (pure JS and zero dependencies)
Detect native Int8Array support.
Helpers for handling mobile devices
XML detection plugin for file-type
check if an AST node is a call to require()
Offline and Online components for React
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)
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
Detect the MIME type of a Buffer, Uint8Array, ArrayBuffer, ReadableStream, file path and file name, with async method.
Detect native Symbol.iterator support.
Detects clicks outside React components, and also handles keypresses.
Arcjet runtime detection
Checks the filesystem for potential license files and attempts to detect what they are
Checks if the given value is an array or array-like object.
Check if something is a Node.js stream. This is a fork of sindresorhus/is-stream, but with CommonJS support.
Count syllables in English words
It's FuckAdBlock with a minimalist API.
Detect native function name support.
Check if a JavaScript environment has a DOM
Regex for matching dot-directories, like `.git/`
Executes a command when a change is detected in specified files. Not an active file watcher.
Check if a String/Buffer is TTF
Check if a String/Buffer/ArrayBuffer is OTF
Check if an Array is sorted
Check if a file path is a video file
Check whether a file can be executed
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.
Provides utilities to check if ad block is enabled on a page via both a React hook and a wrapper component.
Utility to check if internet is connected or not
Get document, if there’s DOM.
check browser and browser's version from userAgent
Get the version of the package.json file found in the given directory or in one of its parents.
Detects if a file is binary based on its content
Detects active internet connection, and API server status in Angular application.
Detect whether the code is running in TS Node
Check if a Buffer is a STUN message.
🃏 Minimalistic isomorphic library for detection of platform, runtime, APIs and more.
Detect if the network is up (do we have connectivity?)
detect in-app browsers
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 a FLAC file.
Check if a Buffer/Uint8Array is a wav file.
Check if a Buffer/Uint8Array is a m4a file.
Check if a buffer/Uint8Array is a woff2 file
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.
Check if a Buffer/Uint8Array is EOT
Checks if the given value is a valid array-like index.
find and identify a cycle in a directed graph
Detect structural similarities in your code
Detect the language of text
Detect Node.JS (as opposite to browser environment) (reliable)
Detect character encoding using ICU
Discover the variable names chosen for each of a file's top-level required modules
Check if a Buffer/Uint8Array is an OGG file.
Determine whether an element is completely within the browser viewport
detect available port
Detect file type by signature
Check if a Buffer/Uint8Array is a MP3 file.
Lint HTML and template source files for hardcoded (untranslated) strings
Read a glob of files, dynamically choosing the reader or requiring the files based on the file extension.
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
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 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
A simple, performant, and cross-browser hook for handling scroll in your next react app.
Detect browser language
Detect when an element is ready in the DOM
Regular expression for matching words in a string. Support for english, CJK and Cyrillic.
Detect native BigInt support.
Detect native ArrayBuffer support.
Check if a Buffer/Uint8Array is a APNG (Animated PNG) image
Detect image dimensions via request.
Fast and native browser detection on Windows
Library to check unused resolvers at Ovrsea
Detect the character encoding using Google’s compact_enc_det library
Get details about the current Continuous Integration environment
Converts between RSA key formats, detecting input format (PEM, DER, PKCS1, PKCS8). No OpenSSL needed.
Detect the current chrome version in the browser
Detect copy-pasted and structurally similar code. Supports ES2020 standard (and most proposed features), TS and TSX files. Using Babel 8's parser.
Detects where the current browser extension code is being run. Compatible with Firefox, Chrome and derivates.
migration tool for sequelize & typescript users
Checks if the browser supports WebP. Cheaply and synchronously.
The simplest way for detecting HTML content.
A pitch-detection library for node and the browser
Regular expresson for matching dotfiles.
JS Library to detect browser, os and device based on the UserAgent String, forked by John Carmichael for ease of use.
Simple module for getting the current mouse position in element or window.
Match the words in a string. Support for english, CJK and Cyrillic.
Check if Node script is running on AppVeyor
Feature detection in the browser before loading polyfill using services like polyfill.io
Offline and Online components for Vue
Detect the programming language of any file.
A browser detection package that uses feature detection instead of user agent
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
Adblock detector
A microlibrary to detect whether Node.js runs inside a Docker container or not
The React hook to detect if the device is mobile or desktop.
Detect unused CSS in angular components
Check if a Buffer/Uint8Array is a 7ZIP file
Detect environment (native, server side, web, etc.)
Checks if the file path is zip file. It does not read the complete file nor it depends upon file extension
Check whether or not a directory and its descendants are valid
Check if a Buffer/Uint8Array is a RAR file
Detect if Mocha is running
Utility methods to detect runtimes and load modules dynamically.
Check if a string is XML
Identify the network your users are using!
Scrypted CoreML Object Detection
Detectizr is a Modernizr extension to detect device, browser, operating system and screen.
Detect support for emoji character sets.
Strictly and correctly checks if value is a nodejs stream.
Detects whether browser has an active internet connection or not in Angular application.
Detect the license of node.js projects and their dependencies
detects node runtime
4-directional swipe detection for react-native.
Device resolution detection module
Hunt down `.only`s before it's too late.
Check if your code is running on Heroku
Check if browser is Safari
React component to detect browser
A path of the currently executed npm CLI
Check if your code is running as an npm script
Which GitHub page are you on? Is it an issue? Is it a list? Perfect for your WebExtension or userscript.
Superset of RESPONSIVE DIRECTIVES to show or hide items according to the size of the device screen and another features in Angular 9
Check whether a string has any emoji
Scrypted Video Analysis Plugin. Installed alongside a detection service like OpenCV or TensorFlow.
Convert a mime type to a file extension. It works only with popular mime types and it's super lightweight.
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
detect the properties in one lib
Convert CSS color strings to RGBA and check whether they are light or dark
Detect if a visitor is coming through a webview or a native browser using user-agent.
Automatically moderate your content with Moderation API
A CommonJS port from the ESM file-type package. Now fixed to not have 'tarHeaderChecksumMatches' error!
Detects Dependencies In The Source File.
Check if a given string is css compatible color value
Detect the current iOS version in the browser
Multi Languages Detection for Text-Mining and Natural Language Processing - True ITK - Open Source
Check if a value is an error constructor
Get the users' most preferred locale/language from your app's available translations with zero dependencies
Modified version of Nick Drewe's tc or sc checker.
react network detection hooks
detect container resizing
Check if a value is a Fetch network error
Detect if a Node.js process is in the debug mode.
Scrypted OpenVINO Object Detection
Check if a Buffer/Uint8Array is a WebP image
Detect if a string contains traditional or simplified Chinese characters.
@wora NetInfo
Check if pnpm is available.
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
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 `package-lock.json` is present in the working directory
Detect raspberry pi revision
Detect the file type of a Buffer/Uint8Array in ES5 (can be used for browser and create-react-app
Check if a number is a HTTP success status code
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.
Check if a string is an IP address. This is a fork of sindresorhus/is-ip, but with CommonJS support.
Detects browser and React Native source-code bundlers
A device detector plugin of Vue 3
Check if a Buffer/Uint8Array is a TIFF image
Check if a Buffer/Uint8Array is a JPEG XR image
Check if a filepath has extension(s)
A module to verify if there's an active internet connection with Node.js
Call a callback when an image has loaded - adapted from desandro/imagesloaded
CLI to detect the language of text