image-type
Detect the image type of an ArrayBuffer/Uint8Array
Found 1212 results for detect
Detect the image type of an ArrayBuffer/Uint8Array
capability.js - javascript environment capability detection
Check if a Buffer/Uint8Array is a BZIP2 file
A proxy to `path`, replacing `\` with `/` for all results
Check if a string is a valid filename
Detect the language of text
JavaScript wrapper for hover and any-hover media queries
JavaScript wrapper for pointer and any-pointer media queries
Detect if the browser supports the touch events api
Detect the language of text
Charset Detector - Detect the encoding and language of text files - Use it in the browser, with Node.js, or via CLI
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
Resolve the preferred locale based on the value of an `Accept-Language` HTTP header.
Check if the process is running as administrator on Windows
Simplify detecting your browser
Returns `true` if a value exists in the given string, array or object.
Checks that given package is installed globally or locally.
Analyze circular dependencies in your JavaScript/TypeScript projects with Rust.
Get the name of a project, from package.json, git config, or basename of the current working directory.
Detect the appearance of an element in the browser DOM
Detect which ES6 (ES2015 and above) features are available
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)
JavaScript module detecting bots/crawlers/spiders via user-agent
detect container resizing
Detect native Int32Array support.
Detect native Int16Array support.
Detect native Uint8ClampedArray support.
Detect native Int8Array support.
Scans a repository directory, searching for a changelog file
Instantly detect support for WEBP images in the browser in 0.2KB
Helpers for handling mobile devices
XML detection plugin for file-type
ES6 and ES7 feature detection.
Check if the process is running with elevated privileges
Check if a file path is an image
Detect native generator function support.
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
check if an AST node is a call to require()
Simple and Performant Language detection library (pure JS and zero dependencies)
Detects clicks outside React components, and also handles keypresses.
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.
Offline and Online components for React
Count syllables in English words
check if an AST node is a call to require()
Detect the MIME type of a Buffer, Uint8Array, ArrayBuffer, ReadableStream, file path and file name, with async method.
Detect native Symbol.iterator support.
Arcjet runtime detection
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)
Check if something is a Node.js stream. This is a fork of sindresorhus/is-stream, but with CommonJS support.
Check whether a file can be executed
Check if a file path is a video file
It's FuckAdBlock with a minimalist API.
Provides utilities to check if ad block is enabled on a page via both a React hook and a wrapper component.
Detect native function name support.
Check if a JavaScript environment has a DOM
Get document, if there’s DOM.
Check if an Array is sorted
Check if a String/Buffer is TTF
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/ArrayBuffer is OTF
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.
Utility to check if internet is connected or not
Detect whether the code is running in TS Node
check browser and browser's version from userAgent
Detects if a file is binary based on its content
Get the version of the package.json file found in the given directory or in one of its parents.
Check if a Buffer is a STUN message.
detect in-app browsers
Detect if the network is up (do we have connectivity?)
Detects active internet connection, and API server status in Angular application.
🃏 Minimalistic isomorphic library for detection of platform, runtime, APIs and more.
Check if a Buffer/Uint8Array is WOFF
Check if a Buffer/Uint8Array is EOT
JavaScript module to check if user agent to return the device and browser.
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)
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.
Detect character encoding using ICU
Check if a Buffer/Uint8Array is a FLAC file.
Check if a Buffer/Uint8Array is a MP3 file.
Checks if the given value is a valid array-like index.
Detect file type by signature
Check if a Buffer/Uint8Array is a m4a file.
Check if a Buffer/Uint8Array is a wav file.
Detect structural similarities in your code
Read a glob of files, dynamically choosing the reader or requiring the files based on the file extension.
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
Lint HTML and template source files for hardcoded (untranslated) strings
JavaScript/TypeScript filter and checker for bad words aka profanity
Detect if DevTools is open and its orientation
Quickly detect the EOL used in a string.
Detect image dimensions via request.
A simple, performant, and cross-browser hook for handling scroll in your next react app.
Detect when an element is ready in the DOM
A small and simple utility package that can validate any kind of image. It can detect corrupt files, or invalid image urls
Detect native DataView support.
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
Fast and native browser detection on Windows
Detect native ArrayBuffer support.
Detect native BigInt 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
Regular expresson for matching dotfiles.
Simple module for getting the current mouse position in element or window.
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.
Check if a Buffer/Uint8Array is a APNG (Animated PNG) image
Detects where the current browser extension code is being run. Compatible with Firefox, Chrome and derivates.
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.
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
The React hook to detect if the device is mobile or desktop.
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.
The simplest way for detecting HTML content.
Feature detection in the browser before loading polyfill using services like polyfill.io
Checks if the browser supports WebP. Cheaply and synchronously.
Detect the programming language of any file.
Adblock detector
Check if Node script is running on AppVeyor
Offline and Online components for Vue
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
Checks if the file path is zip file. It does not read the complete file nor it depends upon file extension
Check if a Buffer/Uint8Array is a 7ZIP file
A microlibrary to detect whether Node.js runs inside a Docker container or not
Detects whether browser has an active internet connection or not in Angular application.
Detect the license of node.js projects and their dependencies
Check whether or not a directory and its descendants are valid
Check if a string is XML
Check if browser is Safari
Detect environment (native, server side, web, etc.)
Scrypted CoreML Object Detection
Detect if Mocha is running
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.
Detect support for emoji character sets.
Detectizr is a Modernizr extension to detect device, browser, operating system and screen.
A path of the currently executed npm CLI
detects node runtime
4-directional swipe detection for react-native.
Device resolution detection module
React component to detect browser
Check if your code is running on Heroku
Convert a mime type to a file extension. It works only with popular mime types and it's super lightweight.
Automatically moderate your content with Moderation API
Hunt down `.only`s before it's too late.
Which GitHub page are you on? Is it an issue? Is it a list? Perfect for your WebExtension or userscript.
Scrypted Video Analysis Plugin. Installed alongside a detection service like OpenCV or TensorFlow.
Check if your code is running as an npm script
Check whether a string has any emoji
Superset of RESPONSIVE DIRECTIVES to show or hide items according to the size of the device screen and another features in Angular 9
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
Strictly and correctly checks if value is a nodejs stream.
Check if a value is a Fetch network error
detect the properties in one lib
Convert CSS color strings to RGBA and check whether they are light or dark
Detect if a Node.js process is in the debug mode.
Scrypted OpenVINO Object Detection
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
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
Detects Dependencies In The Source File.
Detect if a visitor is coming through a webview or a native browser using user-agent.
Get the users' most preferred locale/language from your app's available translations with zero dependencies
Detect if a string contains traditional or simplified Chinese characters.
react network detection hooks
Modified version of Nick Drewe's tc or sc checker.
@wora NetInfo
An *Ackchyually* browser compatible file-type hacky replacement of the `file-type` package. Forked from https://github.com/sindresorhus/file-type
detect container resizing
Check if a Buffer/Uint8Array is a WebP image
Check if a Buffer/Uint8Array is a 7ZIP file
Check if pnpm is available.
It's FuckAdBlock with a minimalist API.
Check if a number is a HTTP success status code
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 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.
Detect raspberry pi revision
Detect the file type of a Buffer/Uint8Array in ES5 (can be used for browser and create-react-app
Detects browser and React Native source-code bundlers
Check if a Buffer/Uint8Array is a TIFF image
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
Check if a string is an IP address. This is a fork of sindresorhus/is-ip, but with CommonJS support.
A device detector plugin of Vue 3
CLI to detect the language of text
Check if a Buffer/Uint8Array is a JPEG XR image
A module to verify if there's an active internet connection with Node.js
Check if a Buffer/Uint8Array is a BMP image
Check if a Buffer/Uint8Array is a PSD image
Report browser settings like whatsmybrowser.org.
Call a callback when an image has loaded - adapted from desandro/imagesloaded
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)
Detect the width and height of images in a stream
Hijacks NodeJS Stream and emits events when newline(s) written to the output.
ecmascript version detector
Make detecting user's OS less annoying
React adblock detector
Detect whether you're running on node.js or io.js
Check if JPEG images are progressive
Magic number detector for javascript
Detect the OS from a User-Agent string.
Check if your code is running on Travis
@wora Detect Network
Classify GPU's based on their benchmark score in order to provide an adaptive experience.
Check if a Buffer/Uint8Array is a PDF file.
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
Cordova/Phonegap plugin to determine if current device is a tablet.
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
Check if the internet connection is up. This is a fork of sindresorhus/is-online, but with CommonJS support.
Detect the file type of a file, stream, or data
Scrypted ONNX Object Detection
Check if `npm-shrinkwrap.json` is present in the working directory
检测设备类型,根据设备类型渲染内容
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 the file type of a base64 The file type is detected by checking the [magic number] of the base64.
Check if a Buffer is a RTP/RTCP message.
Detect device type and render your component according to it
Detect device type and render content based on device type