JSPM

Found 1225 results for detect scroll in react

is-window

Checks if the given value is a window object.

  • v1.0.2
  • 65.60
  • Published

is-alphanumeric

Check if a string only contains alphanumeric characters

  • v1.0.0
  • 65.35
  • Published

is-png

Check if a Buffer/Uint8Array is a PNG image

  • v3.0.1
  • 65.22
  • Published

detect-it

Detect if a device is mouse only, touch only, or hybrid

  • v4.0.1
  • 64.32
  • Published

is-online

Check if the internet connection is up

  • v12.0.1
  • 63.88
  • Published

is-podman

Check if the process is running inside a Podman container

  • v1.0.1
  • 63.67
  • Published

is-html

Check if a string is HTML

  • v3.2.0
  • 63.61
  • Published

is-tar

Check if a Buffer/Uint8Array is a TAR file

  • v1.0.0
  • 63.39
  • Published

is-jpg

Check if a Buffer/Uint8Array is a JPEG image

  • v3.0.0
  • 63.24
  • Published

is-gif

Check if a Buffer/Uint8Array is a GIF image

  • v4.0.1
  • 62.86
  • Published

svelte-inview

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.

  • v4.0.4
  • 62.02
  • Published

detect-file-encoding-and-language

Charset Detector - Detect the encoding and language of text files - Use it in the browser, with Node.js, or via CLI

  • v2.4.0
  • 62.00
  • Published

capability

capability.js - javascript environment capability detection

  • v0.2.5
  • 61.88
  • Published

is-cwebp-readable

Check if a Buffer/Uint8Array is available for cwebp image source

  • v3.0.0
  • 61.25
  • Published

estree-is-function

check if an AST node is a function of some sort

  • v1.0.0
  • 61.22
  • Published

is-reachable

Check if servers are reachable

  • v6.0.0
  • 60.82
  • Published

is-blob

Check if a value is a `Blob`

  • v3.0.0
  • 60.80
  • Published

is-firefox

Check if browser is Firefox

  • v1.0.3
  • 60.17
  • Published

is-emoji-supported

Detect if the current device support the specified emoji

  • v0.0.5
  • 60.05
  • Published

is-iexplorer

Check if browser is Internet Explorer

  • v1.0.0
  • 60.03
  • Published

franc

Detect the language of text

  • v6.2.0
  • 59.16
  • Published

resolve-accept-language

Resolve the preferred locale based on the value of an `Accept-Language` HTTP header.

  • v3.1.13
  • 59.00
  • Published

inapp-spy

detect in-app browsers

  • v5.0.6
  • 58.79
  • Published

file-type-checker

Detect and validate file types by their signatures (✨magic numbers✨)

  • v1.1.6
  • 58.34
  • Published

@thi.ng/checks

Collection of 70+ type, feature & value checks

  • v3.7.23
  • 58.30
  • Published

any

Returns `true` if a value exists in the given string, array or object.

  • v1.0.0
  • 58.27
  • Published

crlf-normalize

Detect and Normalize the newline characters

  • v1.0.20
  • 57.86
  • Published

dpdm-fast

Analyze circular dependencies in your JavaScript/TypeScript projects with Rust.

  • v1.0.14
  • 57.82
  • Published

has-async-hooks

check if the current node version has async_hooks.

  • v1.0.0
  • 57.68
  • Published

is-nil

Checks if the given value is null or undefined

  • v1.0.1
  • 57.53
  • Published

who-am-i-now

Platform detection: NodeJS? React? ReactNative? Expo? etc.

  • v2.1.1
  • 57.45
  • Published

@1natsu/wait-element

Detect the appearance of an element in the browser DOM

  • v4.1.2
  • 57.27
  • Published

franc-min

Detect the language of text

  • v6.2.0
  • 57.13
  • Published

is-zip

Check if a Buffer/Uint8Array is a ZIP file

  • v1.0.0
  • 56.39
  • Published

is-native

Checks if the given value is a native function.

  • v1.0.1
  • 56.27
  • Published

isbot-fast

JavaScript module detecting bots/crawlers/spiders via user-agent

  • v1.2.0
  • 56.10
  • Published

supports-webp

Instantly detect support for WEBP images in the browser in 0.2KB

  • v3.0.0
  • 56.01
  • Published

is-node

Detect if current process is a node application or not.

  • v1.1.1
  • 55.85
  • Published

lang-map

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)

  • v0.4.0
  • 55.80
  • Published

audio-type

Detect the audio type of a Buffer/Uint8Array

  • v2.2.1
  • 55.78
  • Published

valid-filename

Check if a string is a valid filename

  • v4.0.0
  • 55.65
  • Published

image-type

Detect the image type of an ArrayBuffer/Uint8Array

  • v6.0.0
  • 55.61
  • Published

syllable

Count syllables in English words

  • v5.0.1
  • 55.36
  • Published

is-bzip2

Check if a Buffer/Uint8Array is a BZIP2 file

  • v1.0.0
  • 55.34
  • Published

detect-installed

Checks that given package is installed globally or locally.

  • v2.0.4
  • 55.03
  • Published

is-elevated

Check if the process is running with elevated privileges

  • v4.0.0
  • 55.01
  • Published

upath2

A proxy to `path`, replacing `\` with `/` for all results

  • v3.1.20
  • 54.38
  • Published

withinviewport

Determine whether an element is completely within the browser viewport

  • v3.0.1
  • 54.36
  • Published

devtools-detect

Detect if DevTools is open and its orientation

  • v4.0.2
  • 54.18
  • Published

react-ad-block-detect

A React component that renders its children if an ad blocker is detected

  • v1.0.1
  • 54.09
  • Published

detect-touch-events

Detect if the browser supports the touch events api

  • v2.0.2
  • 53.99
  • Published

project-name

Get the name of a project, from package.json, git config, or basename of the current working directory.

  • v1.0.0
  • 53.95
  • Published

detect-hover

JavaScript wrapper for hover and any-hover media queries

  • v1.0.3
  • 53.79
  • Published

detect-pointer

JavaScript wrapper for pointer and any-pointer media queries

  • v1.0.3
  • 53.68
  • Published

wasm-check

TypeScript / JavaScript library for detect WebAssembly features in node.js & browser

  • v2.1.2
  • 53.63
  • Published

has-dom

Check if a JavaScript environment has a DOM

  • v2.0.0
  • 53.50
  • Published

hash-runner

Executes a command when a change is detected in specified files. Not an active file watcher.

  • v4.0.0
  • 53.24
  • Published

cld

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

  • v2.10.1
  • 52.86
  • Published

@esm2cjs/is-stream

Check if something is a Node.js stream. This is a fork of sindresorhus/is-stream, but with CommonJS support.

  • v3.0.0
  • 52.81
  • Published

@arcjet/runtime

Arcjet runtime detection

  • v1.0.0-beta.13
  • 52.53
  • Published

feature-detect-es6

Detect which ES6 (ES2015 and above) features are available

  • v1.5.0
  • 52.28
  • Published

detect-repo-changelog

Scans a repository directory, searching for a changelog file

  • v1.0.1
  • 52.02
  • Published

browser-detect

Simplify detecting your browser

  • v0.2.28
  • 51.76
  • Published

@jsbits/get-package-version

Get the version of the package.json file found in the given directory or in one of its parents.

  • v1.0.3
  • 51.42
  • Published

get-doc

Get document, if there’s DOM.

  • v1.0.4
  • 51.18
  • Published

scroll-swipe

a lightweight Events API for detecting scroll and touch events based on custom sensitivity

  • v0.0.19
  • 51.00
  • Published

ng-connection-service

Detects active internet connection, and API server status in Angular application.

  • v13.0.2
  • 50.76
  • Published

is-admin

Check if the process is running as administrator on Windows

  • v4.0.0
  • 50.60
  • Published

detect-ts-node

Detect whether the code is running in TS Node

  • v1.0.5
  • 49.94
  • Published

@file-type/xml

XML detection plugin for file-type

  • v0.4.4
  • 49.90
  • Published

use-mobile-detect-hook

The React hook to detect if the device is mobile or desktop.

  • v1.0.5
  • 49.80
  • Published

enable

ES6 and ES7 feature detection.

  • v3.4.0
  • 49.77
  • Published

tinyld

Simple and Performant Language detection library (pure JS and zero dependencies)

  • v1.3.4
  • 49.43
  • Published

bad-words-next

JavaScript/TypeScript filter and checker for bad words aka profanity

  • v3.1.1
  • 48.81
  • Published

estree-is-require

check if an AST node is a call to require()

  • v1.0.0
  • 48.75
  • Published

is-image

Check if a file path is an image

  • v4.0.0
  • 48.46
  • Published

mime-kind

Detect the MIME type of a Buffer, Uint8Array, ArrayBuffer, ReadableStream, file path and file name, with async method.

  • v4.0.0
  • 48.00
  • Published

package-license

Checks the filesystem for potential license files and attempts to detect what they are

  • v0.4.1
  • 47.93
  • Published

glin-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

  • v2.3.8
  • 47.74
  • Published

find-cycle

find and identify a cycle in a directed graph

  • v1.1.0
  • 47.72
  • Published

is-stun

Check if a Buffer is a STUN message.

  • v2.0.0
  • 46.17
  • Published

is-executable

Check whether a file can be executed

  • v2.0.1
  • 46.11
  • Published

dotdir-regex

Regex for matching dot-directories, like `.git/`

  • v1.0.1
  • 46.05
  • Published

detect-eol

Quickly detect the EOL used in a string.

  • v3.0.1
  • 46.00
  • Published

is-array-like

Checks if the given value is an array or array-like object.

  • v1.1.2
  • 45.59
  • Published

i18n-lint

Lint HTML and template source files for hardcoded (untranslated) strings

  • v1.1.0
  • 45.57
  • Published

email-regex-safe

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.

  • v4.0.0
  • 45.43
  • Published

platform-detect

🃏 Minimalistic isomorphic library for detection of platform, runtime, APIs and more.

  • v3.0.1
  • 45.37
  • Published

connectivity

Detect if the network is up (do we have connectivity?)

  • v1.0.2
  • 45.22
  • Published

is-otf

Check if a String/Buffer/ArrayBuffer is OTF

  • v0.1.2
  • 45.16
  • Published

is-ttf

Check if a String/Buffer is TTF

  • v0.2.2
  • 45.14
  • Published

is-video

Check if a file path is a video file

  • v2.0.0
  • 45.02
  • Published

franc-all

Detect the language of text

  • v7.2.0
  • 44.81
  • Published

webext-detect

Detects where the current browser extension code is being run. Compatible with Firefox, Chrome and derivates.

  • v5.3.2
  • 44.43
  • Published

sleuth

Discover the variable names chosen for each of a file's top-level required modules

  • v0.1.1
  • 44.03
  • Published

jsinspect-plus

Detect copy-pasted and structurally similar code. Supports ES2020 standard (and most proposed features), TS and TSX files. Using Babel 8's parser.

  • v3.1.3
  • 44.02
  • Published

is-binary

Detects if a file is binary based on its content

  • v0.1.0
  • 43.89
  • Published

pitchfinder

A pitch-detection library for node and the browser

  • v2.3.2
  • 43.36
  • Published

is-woff

Check if a Buffer/Uint8Array is WOFF

  • v1.0.3
  • 43.14
  • Published

@poeticode/scroll-swipe

a lightweight Events API for detecting scroll and touch events based on custom sensitivity

  • v0.1.2
  • 42.77
  • Published

ngx-unused-css

Detect unused CSS in angular components

  • v4.0.0-1
  • 42.59
  • Published

polyfill-io-feature-detection

Feature detection in the browser before loading polyfill using services like polyfill.io

  • v1.1.15
  • 42.36
  • Published

element-ready

Detect when an element is ready in the DOM

  • v9.0.0
  • 42.35
  • Published

debug-mode

Detect if a Node.js process is in the debug mode.

  • v2.0.3
  • 42.34
  • Published

ua_parser

check browser and browser's version from userAgent

  • v1.2.9
  • 42.25
  • Published

rsa-key

Converts between RSA key formats, detecting input format (PEM, DER, PKCS1, PKCS8). No OpenSSL needed.

  • v0.0.6
  • 42.00
  • Published

detect-bundler

Detects browser and React Native source-code bundlers

    • v1.1.0
    • 41.88
    • Published

    is-eot

    Check if a Buffer/Uint8Array is EOT

    • v1.0.0
    • 41.86
    • Published

    is-flac

    Check if a Buffer/Uint8Array is a FLAC file.

    • v1.1.2
    • 41.77
    • Published

    ced

    Detect the character encoding using Google’s compact_enc_det library

    • v2.0.0
    • 41.63
    • Published

    is-woff2

    Check if a buffer/Uint8Array is a woff2 file

    • v1.0.0
    • 41.53
    • Published

    @scrypted/coreml

    Scrypted CoreML Object Detection

      • v0.1.83
      • 41.48
      • Published

      word-regex

      Regular expression for matching words in a string. Support for english, CJK and Cyrillic.

      • v0.1.2
      • 41.39
      • Published

      ngx-responsive

      Superset of RESPONSIVE DIRECTIVES to show or hide items according to the size of the device screen and another features in Angular 9

      • v9.0.3
      • 41.35
      • Published

      cldpre

      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

      • v2.9.0
      • 41.33
      • Published

      is-wav

      Check if a Buffer/Uint8Array is a wav file.

      • v1.1.2
      • 41.29
      • Published

      @scrypted/objectdetector

      Scrypted Video Analysis Plugin. Installed alongside a detection service like OpenCV or TensorFlow.

        • v0.1.73
        • 41.27
        • Published

        jsinspect

        Detect structural similarities in your code

        • v0.12.7
        • 41.19
        • Published

        @d-fischer/detect-node

        Detect Node.JS (as opposite to browser environment) (reliable)

        • v3.0.1
        • 41.07
        • Published

        is-ogg

        Check if a Buffer/Uint8Array is an OGG file.

        • v1.1.2
        • 41.07
        • Published

        is-index

        Checks if the given value is a valid array-like index.

        • v1.0.2
        • 41.00
        • Published

        ngx-connection-service

        Detects whether browser has an active internet connection or not in Angular application.

        • v18.0.0
        • 40.99
        • Published

        device-detect

        JavaScript module to check if user agent to return the device and browser.

        • v1.0.7
        • 40.94
        • Published

        is-mp3

        Check if a Buffer/Uint8Array is a MP3 file.

        • v1.1.3
        • 40.88
        • Published

        is-m4a

        Check if a Buffer/Uint8Array is a m4a file.

        • v1.0.2
        • 40.86
        • Published

        react-native-user-detector-active-inactive

        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).

        • v0.0.8
        • 40.34
        • Published

        cursor-position

        Simple module for getting the current mouse position in element or window.

        • v1.0.1
        • 40.21
        • Published

        has-emoji

        Check whether a string has any emoji

        • v3.0.0
        • 39.86
        • Published

        file-reader

        Read a glob of files, dynamically choosing the reader or requiring the files based on the file extension.

        • v1.1.1
        • 39.76
        • Published

        image-validator

        A small and simple utility package that can validate any kind of image. It can detect corrupt files, or invalid image urls

        • v1.2.1
        • 39.54
        • Published

        match-words

        Match the words in a string. Support for english, CJK and Cyrillic.

        • v1.0.0
        • 39.25
        • Published

        react-is-online-context

        React context provider and hook to check if the internet connection is up

        • v1.0.5
        • 39.24
        • Published

        license-sniffer

        Detect the license of node.js projects and their dependencies

        • v0.1.2
        • 39.02
        • Published

        @qawolf/ci-info

        Get details about the current Continuous Integration environment

        • v2.1.0
        • 38.98
        • Published

        language-detect

        Detect the programming language of any file.

        • v1.1.0
        • 38.75
        • Published

        key-pressed

        A simple browserify module for telling whether or not a given key has been pressed down.

        • v0.0.1
        • 38.67
        • Published

        file-type-cjs-fix

        A CommonJS port from the ESM file-type package. Now fixed to not have 'tarHeaderChecksumMatches' error!

          • v1.1.1
          • 38.41
          • Published

          fiftyone.devicedetection

          Parse HTTP headers to detect the device type, model, operating system, browser, and crawler information

          • v4.4.220
          • 37.95
          • Published

          is-apng

          Check if a Buffer/Uint8Array is a APNG (Animated PNG) image

          • v1.2.0
          • 37.71
          • Published

          ios-version

          Detect the current iOS version in the browser

          • v1.0.1
          • 37.68
          • Published

          is-html-content

          The simplest way for detecting HTML content.

          • v1.0.0
          • 37.52
          • Published

          is-appveyor

          Check if Node script is running on AppVeyor

          • v1.0.0
          • 37.49
          • Published

          @scrypted/opencv

          Scrypted OpenCV Motion Detection Service.

            • v0.0.92
            • 37.41
            • Published

            detectizr

            Detectizr is a Modernizr extension to detect device, browser, operating system and screen.

            • v2.2.0
            • 37.37
            • Published

            res

            Device resolution detection module

            • v0.4.0
            • 37.34
            • Published

            preferred-locale

            Get the users' most preferred locale/language from your app's available translations with zero dependencies

            • v2.0.2
            • 37.29
            • Published

            containerized

            A microlibrary to detect whether Node.js runs inside a Docker container or not

            • v1.0.2
            • 37.24
            • Published

            browserama

            A browser detection package that uses feature detection instead of user agent

            • v3.2.2
            • 37.17
            • Published

            @dvlden/is-webview

            Detect if a visitor is coming through a webview or a native browser using user-agent.

              • v1.0.0
              • 37.12
              • Published

              chrome-version

              Detect the current chrome version in the browser

              • v1.0.1
              • 36.83
              • Published

              has-package-lock

              Check if a `package-lock.json` is present in the working directory

              • v2.0.0
              • 36.43
              • Published

              v-offline

              Offline and Online components for Vue

              • v3.5.0
              • 36.33
              • Published

              mime2ext

              Convert a mime type to a file extension. It works only with popular mime types and it's super lightweight.

              • v2.0.1
              • 35.98
              • Published

              detect.js

              JS Library to detect browser, os and device based on the UserAgent String, forked by John Carmichael for ease of use.

              • v2.2.3
              • 35.94
              • Published

              is-css-color

              Check if a given string is css compatible color value

              • v1.0.0
              • 35.87
              • Published

              ng2-responsive

              Superset of RESPONSIVE DIRECTIVES to show or hide items according to the size of the device screen and another features in Angular 2

              • v0.8.4
              • 35.71
              • Published

              has-lockfile

              Detect lockfiles in the working directory

              • v4.0.0
              • 35.69
              • Published

              detect-mocha

              Detect if Mocha is running

              • v0.1.0
              • 35.60
              • Published

              is-xml

              Check if a string is XML

              • v0.1.0
              • 35.59
              • Published

              traditional-or-simplified

              Detect if a string contains traditional or simplified Chinese characters.

              • v1.0.3
              • 35.54
              • Published

              is-zip-file

              Checks if the file path is zip file. It does not read the complete file nor it depends upon file extension

              • v1.0.2
              • 35.34
              • Published

              valid-directory

              Check whether or not a directory and its descendants are valid

              • v4.9.0
              • 35.13
              • Published

              @depack/detect

              Detects Dependencies In The Source File.

              • v1.1.0
              • 34.76
              • Published

              @dekkai/env

              Utility methods to detect runtimes and load modules dynamically.

              • v1.1.0
              • 34.75
              • Published

              dotfile-regex

              Regular expresson for matching dotfiles.

              • v1.0.2
              • 34.70
              • Published

              image-size-stream

              Detect the width and height of images in a stream

              • v1.1.0
              • 34.58
              • Published

              browser-report

              Report browser settings like whatsmybrowser.org.

              • v2.2.12
              • 34.39
              • Published

              buddy.js

              Magic number detector for javascript

              • v0.9.3
              • 34.38
              • Published

              github-url-detection

              Which GitHub page are you on? Is it an issue? Is it a list? Perfect for your WebExtension or userscript.

              • v10.2.1
              • 34.31
              • Published

              is-npm-cli

              Check if your code is running as an npm script

              • v2.0.0
              • 34.17
              • Published

              @theodorejb/color-detect

              Convert CSS color strings to RGBA and check whether they are light or dark

              • v2.0.0
              • 34.16
              • Published

              dot-only-hunter

              Hunt down `.only`s before it's too late.

              • v1.0.3
              • 33.98
              • Published

              supports-webp-sync

              Checks if the browser supports WebP. Cheaply and synchronously.

              • v1.1.3
              • 33.92
              • Published

              has-pnpm

              Check if a project is using pnpm.

              • v1.1.1
              • 33.68
              • Published

              @scrypted/onnx

              Scrypted ONNX Object Detection

                • v0.1.127
                • 33.63
                • Published

                is-webp

                Check if a Buffer/Uint8Array is a WebP image

                • v2.0.0
                • 33.56
                • Published

                has-shrinkwrap

                Check if `npm-shrinkwrap.json` is present in the working directory

                • v1.0.0
                • 33.52
                • Published

                screen-size-detector

                A small utility to detect screen (viewport) size (resolution height and width) and listener to resize event with additional features

                • v1.0.4
                • 33.20
                • Published

                is-heroku

                Check if your code is running on Heroku

                • v3.0.0
                • 33.11
                • Published

                is-7zip

                Check if a Buffer/Uint8Array is a 7ZIP file

                • v2.0.0
                • 33.07
                • Published

                @sgtpooki/file-type

                An *Ackchyually* browser compatible file-type hacky replacement of the `file-type` package. Forked from https://github.com/sindresorhus/file-type

                • v1.0.1
                • 32.95
                • Published

                caniuse-pnpm

                Check if pnpm is available.

                • v2.0.0
                • 32.93
                • Published

                languages.io

                Multi Languages Detection for Text-Mining and Natural Language Processing - True ITK - Open Source

                • v0.9.1
                • 32.87
                • Published

                franc-cli

                CLI to detect the language of text

                • v8.0.0
                • 32.50
                • Published

                @esm2cjs/is-online

                Check if the internet connection is up. This is a fork of sindresorhus/is-online, but with CommonJS support.

                • v10.0.0
                • 32.36
                • Published

                amdextract

                Uses AST to extract AMD modules, their parts and an optimized output without unused dependencies while keeping the original format.

                • v3.0.0
                • 32.35
                • Published

                is-tif

                Check if a Buffer/Uint8Array is a TIFF image

                • v2.0.0
                • 32.13
                • Published

                is-safari

                Check if browser is Safari

                • v1.0.0
                • 32.11
                • Published

                vue-device-detect

                检测设备类型,根据设备类型渲染内容

                  • v1.0.3
                  • 32.09
                  • Published

                  is-pdf

                  Check if a Buffer/Uint8Array is a 7ZIP file

                  • v1.0.0
                  • 32.08
                  • Published

                  is-success

                  Check if a number is a HTTP success status code

                  • v1.0.0
                  • 32.04
                  • Published

                  @esm2cjs/is-ip

                  Check if a string is an IP address. This is a fork of sindresorhus/is-ip, but with CommonJS support.

                  • v4.0.0
                  • 31.95
                  • Published

                  is-progressive

                  Check if JPEG images are progressive

                  • v5.0.1
                  • 31.82
                  • Published