is-lambda
Detect if your code is running on an AWS Lambda server
Found 1183 results for detect
Detect if your code is running on an AWS Lambda server
Detect Node.JS (as opposite to browser environment). ESM modification
Check if the process is running inside a container (Docker/Podman)
detect available port
Check if something is a promise
Low footprint ECMAScript source code parser
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`.
Regular expression for getting the root of a posix or windows filepath.
Isomorphic, functional type-checking for Javascript
Check if a project is using Yarn
Check if a string matches the name of a Node.js builtin module
Check if a file path is a text file
Detects if a file exists and returns the resolved filepath.
Check if a Buffer/Uint8Array is a GZIP file
Node.js implementation of port detector
A simple binding to Google's cpu_features library for obtaining information about installed CPU(s)
Check if a number is a redirect HTTP status code
Check if a value is a Fetch network error
Detect which package manager you're using (yarn or npm)
Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
Check whether operating system CPU architecture is 64-bit or 32-bit (Supports browsers)
Detect the archive type of a Buffer/Uint8Array
A tool to get browser's scrollbars width.
Check if a string is SVG
Check if a value is an Observable
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
Get the operating system CPU architecture
Checks if the given value is a window object.
Convert and detect character encoding in JavaScript
Detect and extract the static part of a glob string
Unpack a browser type and version from the useragent string
find undeclared identifiers and property accesses in a javascript file.
Check if a string is a scoped npm package name
Check if the process is running in a Continuous Integration (CI) environment
Check if a string is an IP address
Detect the archive type of a Buffer/Uint8Array
Check if a Buffer/Uint8Array is a PNG image
Detect device type and render your component according to it
Check if a string only contains alphanumeric characters
Classify GPU's based on their benchmark score in order to provide an adaptive experience.
Run the Node.js binary no matter what
Check if a Buffer/Uint8Array is a GIF image
Detect native Symbol support.
Detect native Symbol.toStringTag support.
Check if a Buffer/Uint8Array is a JPEG image
Detect native Uint32Array support.
Detect native Float32Array support.
Detect native Float64Array support.
Detect native Uint16Array support.
Check if a string is HTML
Detect native Buffer support.
check if an AST node is a function of some sort
Detect native Uint8Array support.
Check if a Buffer/Uint8Array is a TAR file
Check if Electron is running in development
Check if a Buffer/Uint8Array is available for cwebp image source
Detect the indentation of code (commonjs fork)
Detect the audio type of a Buffer/Uint8Array
Check if a value is a `Blob`
Detect if a device is mouse only, touch only, or hybrid
Check if browser is Firefox
Detect if the browser supports passive events
Device detection (phone, tablet, desktop, mobile grade, os, versions)
check if the current node version has async_hooks.
Analyze circular dependencies in your JavaScript/TypeScript projects.
Checks if the given value is null or undefined
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.
Check if browser is Internet Explorer
Collection of 70+ type, feature & value checks
Check if the process is running inside a Podman container
Detect and Normalize the newline characters
Checks if the given value is a native function.
Check if servers are reachable
check if an AST node is a MemberExpression, in general or a specific one
Check if a Buffer/Uint8Array is a ZIP file
Check if the internet connection is up
capability.js - javascript environment capability detection
Detect the image type of a Buffer/Uint8Array
Check if a value is a function
Check if a string is an IP address
Check if a string is a valid filename
Detect if the current device support the specified emoji
A proxy to `path`, replacing `\` with `/` for all results
Detect native generator function support.
Check if a Buffer/Uint8Array is a BZIP2 file
JavaScript wrapper for pointer and any-pointer media queries
JavaScript wrapper for hover and any-hover media queries
Detect if the browser supports the touch events api
Detect the language of text
Scans a repository directory, searching for a changelog file
Charset Detector - Detect the encoding and language of text files - Use it in the browser, with Node.js, or via CLI
Simplify detecting your browser
ES6 and ES7 feature detection.
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)
Detect which ES6 (ES2015 and above) features are available
Detect if current process is a node application or not.
Returns `true` if a value exists in the given string, array or object.
Detect the language of text
Checks that given package is installed globally or locally.
Detect native Int32Array support.
Detect native Int16Array support.
Detect native Uint8ClampedArray support.
Detect and validate file types by their signatures (✨magic numbers✨)
TypeScript / JavaScript library for detect WebAssembly features in node.js & browser
Get the name of a project, from package.json, git config, or basename of the current working directory.
detect container resizing
Check if the process is running as administrator on Windows
JavaScript module detecting bots/crawlers/spiders via user-agent
Detect native Int8Array support.
Detect native Symbol.iterator support.
Helpers for handling mobile devices
check if an AST node is a call to require()
Check if a file path is an image
Resolve the preferred locale based on the value of an `Accept-Language` HTTP header.
Instantly detect support for WEBP images in the browser in 0.2KB
Check if the process is running with elevated privileges
Get details about the current Continuous Integration environment
Checks the filesystem for potential license files and attempts to detect what they are
Detects clicks outside React components, and also handles keypresses.
Offline and Online components for React
Detect the MIME type of a Buffer, Uint8Array, ArrayBuffer, ReadableStream, file path and file name, with async method.
Simple and Performant Language detection library (pure JS and zero dependencies)
Checks if the given value is an array or array-like object.
Get the version of the package.json file found in the given directory or in one of its parents.
Detect native function name support.
Analyze circular dependencies in your JavaScript/TypeScript projects with Rust.
check if an AST node is a call to require()
Check if something is a Node.js stream. This is a fork of sindresorhus/is-stream, but with CommonJS 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 a Buffer/Uint8Array is a wav file.
Check if a Buffer/Uint8Array is a m4a file.
Check if a Buffer/Uint8Array is a FLAC file.
Check if a Buffer/Uint8Array is a APNG (Animated PNG) image
Regex for matching dot-directories, like `.git/`
Detect the appearance of an element in the browser DOM
Check if a Buffer/Uint8Array is an OGG file.
Check if a JavaScript environment has a DOM
Check if a Buffer/Uint8Array is a MP3 file.
Count syllables in English words
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 is TTF
Provides utilities to check if ad block is enabled on a page via both a React hook and a wrapper component.
Detects if a file is binary based on its content
Scrypted Video Analysis Plugin. Installed alongside a detection service like OpenCV or TensorFlow.
Get document, if there’s DOM.
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 a String/Buffer/ArrayBuffer is OTF
Detect if DevTools is open and its orientation
Check if an Array is sorted
It's FuckAdBlock with a minimalist API.
Utility to check if internet is connected or not
Detects active internet connection, and API server status in Angular application.
Check if a file path is a video file
check browser and browser's version from userAgent
🃏 Minimalistic isomorphic library for detection of platform, runtime, APIs and more.
Detect whether the code is running in TS Node
JavaScript module to check if user agent to return the device and browser.
Check whether a file can be executed
Lint HTML and template source files for hardcoded (untranslated) strings
Check if a Buffer is a STUN message.
Check if a Buffer/Uint8Array is WOFF
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 woff2 file
Checks if the given value is a valid array-like index.
Check if a Buffer/Uint8Array is EOT
detect in-app browsers
Detect structural similarities in your code
find and identify a cycle in a directed graph
Detect file type by signature
Determine whether an element is completely within the browser viewport
Detects where the current browser extension code is being run. Compatible with Firefox, Chrome and derivates.
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
Regular expression for matching words in a string. Support for english, CJK and Cyrillic.
Detect the character encoding using Google’s compact_enc_det library
Detect if the network is up (do we have connectivity?)
Detect the language of text
Detect browser language
Regular expresson for matching dotfiles.
Detect Node.JS (as opposite to browser environment) (reliable)
JavaScript/TypeScript filter and checker for bad words aka profanity
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.
React component to detect browser
Detect native ArrayBuffer support.
Converts between RSA key formats, detecting input format (PEM, DER, PKCS1, PKCS8). No OpenSSL needed.
Detect image dimensions via request.
Detect the current chrome version in the browser
Adblock detector
Detect native BigInt support.
A React component that renders its children if an ad blocker is detected
Detect when an element is ready in the DOM
Library to check unused resolvers at Ovrsea
The simplest way for detecting HTML content.
Check if Node script is running on AppVeyor
Match the words in a string. Support for english, CJK and Cyrillic.
Fast and native browser detection on Windows
Detect docx file type from buffer
JS Library to detect browser, os and device based on the UserAgent String, forked by John Carmichael for ease of use.
Detect if file buffer is an OOXML file type
detect available port
Quickly detect the EOL used in a string.
An *Ackchyually* browser compatible file-type hacky replacement of the `file-type` package. Forked from https://github.com/sindresorhus/file-type
A simple, performant, and cross-browser hook for handling scroll in your next react app.
Detect copy-pasted and structurally similar code. Supports ES2020 standard (and most proposed features), TS and TSX files. Using Babel 8's parser.
The React hook to detect if the device is mobile or desktop.
migration tool for sequelize & typescript users
CLI to detect the language of text
Detectizr is a Modernizr extension to detect device, browser, operating system and screen.
Offline and Online components for Vue
Check if a given string is css compatible color value
Superset of RESPONSIVE DIRECTIVES to show or hide items according to the size of the device screen and another features in Angular 9
Checks if the browser supports WebP. Cheaply and synchronously.
A browser detection package that uses feature detection instead of user agent
Scrypted CoreML Object Detection
Detect the programming language of any file.
Strictly and correctly checks if value is a nodejs stream.
Executes a command when a change is detected in specified files. Not an active file watcher.
A path of the currently executed npm CLI
Does the string resemble an HTML or XHTML (or neither)?
Identify the network your users are using!
Check whether a string has any emoji
Modern browsers do not support autoplay with sound unless the user or browser autoplay algorithm allows it. see https://developer.chrome.com/blog/autoplay/ .
Hunt down `.only`s before it's too late.
Detect if a Node.js process is in the debug mode.
Detect if Mocha is running
Detect device type and render your component according to it
Checks if the file path is zip file. It does not read the complete file nor it depends upon file extension
Detect the current iOS version in the browser
Check if a Buffer/Uint8Array is a 7ZIP file
Detects whether browser has an active internet connection or not in Angular application.
Check if a value is a Fetch network error
XML detection plugin for file-type
detect container resizing
Check if browser is Safari
Detect unused CSS in angular components
Device resolution detection module
Check if a string is XML
Check if a Buffer/Uint8Array is a WebP image
Check whether or not a directory and its descendants are valid
4-directional swipe detection for react-native.
react network detection hooks
Multi Languages Detection for Text-Mining and Natural Language Processing - True ITK - Open Source
Detect support for emoji character sets.
Check if a string is an IP address. This is a fork of sindresorhus/is-ip, but with CommonJS support.
Scrypted OpenVINO Object Detection
Get the users' most preferred locale/language from your app's available translations with zero dependencies
Check if a value is an error constructor