JSPM

Found 4989 results for check ip

is-ip

Check if a string is an IP address

  • v5.0.1
  • 503.63
  • Published

@chainsafe/is-ip

Check if a string is an IP address

  • v2.1.0
  • 396.49
  • Published

ip-filter

Validates given IPs (IPv4 and IPv6) using [micromatch][] - glob patterns, RegExp, string or array of globs. If match returns the IP, otherwise null.

  • v4.0.0
  • 217.39
  • 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
  • 213.67
  • Published

is-local-address

Static check if a hostname is a local IP address.

  • v2.3.2
  • 196.73
  • Published

ip-check-range

Check whether an IP is in a range

  • v1.0.2
  • 191.69
  • Published

is-port-reachable

Check if a local or remote port is reachable

  • v4.0.0
  • 104.31
  • Published

is-match-ip

Matching IPs using [micromatch][] and [ip-filter][] - glob patterns, RegExp, string or array of globs. Returns matcher function.

  • v1.0.0
  • 102.52
  • Published

tcp-port-used

A simple Node.js module to check if a TCP port is already bound.

  • v1.0.2
  • 85.46
  • Published

has-flag

Check if argv has a specific flag

  • v5.0.1
  • 74.50
  • Published

kind-of

Get the native type of a value.

  • v6.0.3
  • 73.59
  • Published

check-ip-address

Returns your remote address from os.networkInterfaces() if available, or false if not.

  • v1.1.3
  • 73.57
  • Published

is-stream

Check if something is a Node.js stream

  • v4.0.1
  • 73.36
  • Published

is-fullwidth-code-point

Check if the character represented by a given Unicode code point is fullwidth

  • v5.1.0
  • 73.24
  • Published

is-number

Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.

  • v7.0.0
  • 71.71
  • Published

path-type

Check if a path is a file, directory, or symlink

  • v6.0.0
  • 71.63
  • Published

is-glob

Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet

  • v4.0.3
  • 71.22
  • Published

is-wsl

Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)

  • v3.1.0
  • 71.14
  • Published

isobject

Returns true if the value is an object and not an array or null.

  • v4.0.0
  • 70.69
  • Published

is-extglob

Returns true if a string has an extglob.

  • v2.1.1
  • 70.68
  • Published

is-plain-obj

Check if a value is a plain object

  • v4.1.0
  • 70.31
  • Published

is-binary-path

Check if a file path is a binary file

  • v3.0.0
  • 70.17
  • Published

type-check

type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.

  • v0.4.0
  • 70.10
  • Published

is-plain-object

Returns true if an object was created by the `Object` constructor, or Object.create(null).

  • v5.0.0
  • 69.26
  • Published

file-type

Detect the file type of a file, stream, or data

  • v21.1.1
  • 69.04
  • Published

is-extendable

Returns true if a value is a plain object, array or function.

  • v1.0.1
  • 69.02
  • Published

is-descriptor

Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.

  • v3.1.1
  • 68.59
  • Published

is-generator-fn

Check if something is a generator function

  • v3.0.0
  • 68.42
  • Published

is-windows

Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.

  • v1.0.2
  • 67.95
  • Published

is-data-descriptor

Returns true if a value has the characteristics of a valid JavaScript data descriptor.

  • v2.1.3
  • 67.51
  • Published

is-accessor-descriptor

Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.

  • v3.0.5
  • 67.34
  • Published

is-obj

Check if a value is an object

  • v3.0.0
  • 67.17
  • Published

has-value

Returns true if a value exists, false if empty. Works with deeply nested values using object paths.

  • v2.0.2
  • 66.82
  • Published

unist-util-visit-parents

unist utility to recursively walk over nodes, with ancestral information

  • v6.0.2
  • 66.54
  • Published

unist-util-is

unist utility to check if a node passes a test

  • v6.0.1
  • 66.48
  • Published

is-url-http

Check if an URL is a valid HTTP URL.

  • v2.3.13
  • 66.01
  • Published

environment

Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc

  • v1.1.0
  • 65.36
  • Published

ts-interface-checker

Runtime library to validate data against TypeScript interfaces

  • v1.0.2
  • 65.14
  • Published

lint-staged

Lint files staged by git

  • v16.2.7
  • 64.48
  • Published

is-path-cwd

Check if a path is the current working directory

  • v4.0.1
  • 64.47
  • Published

is-regexp

Check if a value is a regular expression

  • v3.1.0
  • 63.78
  • Published

is-npm

Check if your code is running as an npm script

  • v6.1.0
  • 63.33
  • Published

proxy-verifier

Check that proxies are working, verify their anonymity level, lookup their geographic location by IP address, check for other capabilities such as tunneling and available protocols.

  • v0.5.0
  • 63.20
  • Published

is-retry-allowed

Check whether a request can be retried based on the `error.code`

  • v3.0.0
  • 62.98
  • Published

typical

Isomorphic, functional type-checking for Javascript

  • v7.3.0
  • 62.66
  • Published

p-is-promise

Check if something is a promise

  • v4.0.0
  • 62.58
  • Published

is-builtin-module

Check if a string matches the name of a Node.js builtin module

  • v5.0.0
  • 62.56
  • Published

is-relative

Returns `true` if the path appears to be relative.

  • v1.0.0
  • 62.40
  • Published

is-absolute

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

  • v1.0.0
  • 62.26
  • Published

is-text-path

Check if a file path is a text file

  • v3.0.0
  • 62.26
  • Published

update-notifier

Update notifications for your CLI app

  • v7.3.1
  • 61.94
  • Published

is-path-in-cwd

Check if a path is in the current working directory

  • v4.0.0
  • 61.90
  • Published

is-network-error

Check if a value is a Fetch network error

  • v1.3.0
  • 61.44
  • Published

is-primitive

Returns `true` if the value is a primitive.

  • v3.0.1
  • 60.63
  • Published

please-upgrade-node

Displays a beginner-friendly message telling your user to upgrade their version of Node

  • v3.2.0
  • 60.61
  • Published

is-ssh

Check if an input value is a ssh url or not.

  • v1.4.1
  • 60.24
  • Published

check-types

A little library for asserting types and values, with zero dependencies.

  • v11.2.3
  • 60.12
  • Published

superstruct

A simple and composable way to validate data in JavaScript (and TypeScript).

  • v2.0.2
  • 59.63
  • Published

is-resolvable

Check if a module ID is resolvable with require()

  • v1.1.0
  • 59.39
  • Published

shallow-equal

Typescript-compatible minimalistic shallow equality check for arrays/objects

  • v3.1.0
  • 59.01
  • Published

valid-url

URI validation functions

  • v1.0.9
  • 58.89
  • Published

ip-data-check

this for checking data of ip like region, city dll

    • v1.0.1
    • 58.82
    • Published

    is-gzip

    Check if a Buffer/Uint8Array is a GZIP file

    • v2.0.0
    • 58.64
    • Published

    bs58check

    A straightforward implementation of base58-check encoding

    • v4.0.0
    • 58.47
    • Published

    is-redirect

    Check if a number is a redirect HTTP status code

    • v2.0.0
    • 58.40
    • Published

    fs-exists-sync

    Drop-in replacement for `fs.existsSync` with zero dependencies. Other libs I found either have crucial differences from fs.existsSync, or unnecessary dependencies. See README.md for more info.

    • v0.1.0
    • 58.33
    • Published

    is-url-superb

    Check if a string is a URL

    • v6.1.0
    • 58.21
    • Published

    is-invalid-path

    Returns true if a windows file path has invalid characters.

    • v1.0.2
    • 58.04
    • Published

    is-valid-glob

    Return true if a value is a valid glob pattern or patterns.

    • v1.0.0
    • 58.00
    • Published

    koalas

    Coalesce for JavaScript. Returns the first value that is not undefined or null.

    • v1.0.2
    • 57.96
    • Published

    is2

    A type checking library where each exported function returns either true or false and does not throw. Also added tests.

    • v2.0.9
    • 57.94
    • Published

    is-observable

    Check if a value is an Observable

    • v3.0.0
    • 57.77
    • Published

    is-svg

    Check if a string is SVG

    • v6.1.0
    • 57.64
    • Published

    is-in-ci

    Check if the process is running in a Continuous Integration (CI) environment

    • v2.0.0
    • 57.56
    • Published

    is64bit

    Check whether operating system CPU architecture is 64-bit or 32-bit (Supports browsers)

    • v2.0.0
    • 57.51
    • Published

    istextorbinary

    Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.

    • v9.5.0
    • 57.38
    • Published

    archive-type

    Detect the archive type of a Buffer/Uint8Array

    • v4.0.0
    • 57.33
    • Published

    hook-std

    Hook and modify stdout and stderr

    • v4.0.0
    • 57.31
    • Published

    @xhmikosr/bin-wrapper

    Binary wrapper that makes your programs seamlessly available as local dependencies

    • v13.2.0
    • 57.18
    • Published

    is-valid-path

    Returns true if a file path does not contain any invalid characters.

    • v0.1.1
    • 56.97
    • Published

    inspect-with-kind

    `util.inspect` with additional type information

    • v1.0.5
    • 56.86
    • Published

    bcp-47-match

    Match BCP 47 language tags with language ranges per RFC 4647

    • v2.0.3
    • 56.57
    • Published

    component-type

    Type assertions aka less-broken `typeof`

    • v2.0.0
    • 56.56
    • Published

    ow

    Function argument validation for humans

    • v3.1.1
    • 55.96
    • Published

    bin-check

    Check if a binary is working

    • v4.1.0
    • 55.95
    • Published

    depcheck

    Check dependencies in your node module

    • v1.4.7
    • 55.84
    • Published

    is-png

    Check if a Buffer/Uint8Array is a PNG image

    • v3.0.1
    • 55.17
    • Published

    is-whitespace

    Returns true if the value passed is all whitespace.

    • v0.3.0
    • 55.16
    • Published

    is-lite

    A tiny javascript type testing tool

    • v2.0.0
    • 55.11
    • Published

    is-alphanumeric

    Check if a string only contains alphanumeric characters

    • v1.0.0
    • 55.08
    • Published

    is-window

    Checks if the given value is a window object.

    • v1.0.2
    • 55.05
    • Published

    undeclared-identifiers

    find undeclared identifiers and property accesses in a javascript file.

    • v1.1.3
    • 54.79
    • Published

    bin-wrapper

    Binary wrapper that makes your programs seamlessly available as local dependencies

    • v4.1.0
    • 54.44
    • Published

    has-glob

    Returns `true` if an array has a glob pattern.

    • v1.0.0
    • 54.41
    • Published

    isemail

    Validate an email address according to RFCs 5321, 5322, and others

    • v3.2.0
    • 54.09
    • Published

    is-empty

    Check whether a value is "empty".

    • v1.2.0
    • 53.93
    • Published

    update-notifier-cjs

    Update notifications for your CLI app, maintained in CommonJS (CJS)

    • v5.1.7
    • 53.82
    • Published

    is-mobile

    Check if mobile browser.

    • v5.0.0
    • 53.76
    • Published

    null-check

    Ensure a path doesn't contain null bytes

    • v3.0.0
    • 53.51
    • Published

    is-jpg

    Check if a Buffer/Uint8Array is a JPEG image

    • v3.0.0
    • 53.38
    • Published

    netspeedchecker

    check internet connection speed, IP address, ISP and Ping time

    • v1.0.3
    • 53.33
    • Published

    @mole-inc/bin-wrapper

    Binary wrapper that makes your programs seamlessly available as local dependencies

    • v8.0.1
    • 53.14
    • Published

    standard-engine

    Wrap your standards in a tortilla and cover it in special sauce.

    • v15.1.0
    • 53.07
    • Published

    flow-bin

    Binary wrapper for Flow - A static type checker for JavaScript

    • v0.293.0
    • 52.90
    • Published

    standard

    JavaScript Standard Style

    • v17.1.2
    • 52.73
    • Published

    ip-checker

    Check client ip for koa & express.

    • v0.0.2
    • 52.56
    • Published

    is-gif

    Check if a Buffer/Uint8Array is a GIF image

    • v4.0.1
    • 52.42
    • Published

    @metamask/superstruct

    A simple and composable way to validate data in JavaScript (and TypeScript).

    • v3.2.1
    • 52.41
    • Published

    simple-is

    maximally minimal type-testing library

    • v0.2.0
    • 52.00
    • Published

    is-html

    Check if a string is HTML

    • v3.2.0
    • 51.89
    • Published

    root-check

    Try to downgrade the permissions of a process with root privileges and block access if it fails

    • v2.0.0
    • 51.62
    • Published

    @stdlib/fs-exists

    Test whether a path exists on the filesystem.

    • v0.2.2
    • 51.26
    • Published

    is-tar

    Check if a Buffer/Uint8Array is a TAR file

    • v1.0.0
    • 51.19
    • Published

    tsd

    Check TypeScript type definitions

    • v0.33.0
    • 51.11
    • Published

    yeoman-doctor

    Detect potential issues with users system that could prevent Yeoman from working correctly

    • v6.0.0
    • 51.04
    • Published

    is-bluebird

    Is this a bluebird promise I see before me?

    • v1.0.2
    • 50.93
    • Published

    npm-check

    Check for outdated, incorrect, and unused dependencies.

    • v6.0.1
    • 50.92
    • Published

    get-object

    Get a property from an object using dot (object path) notation.

    • v0.2.0
    • 50.84
    • Published

    is-wayland

    Check if the current Linux session is using Wayland

    • v0.1.0
    • 50.71
    • Published

    estree-is-function

    check if an AST node is a function of some sort

    • v1.0.0
    • 50.68
    • Published

    is-firefox

    Check if browser is Firefox

    • v1.0.3
    • 50.59
    • Published

    is-blob

    Check if a value is a `Blob`

    • v3.0.0
    • 50.41
    • Published

    is-iexplorer

    Check if browser is Internet Explorer

    • v1.0.0
    • 50.24
    • Published

    log-utils

    Tiny wrapper around ansi-colors to add colored symbols and a timestamp.

    • v1.0.0
    • 50.24
    • Published

    xo

    JavaScript/TypeScript linter (ESLint wrapper) with great defaults

    • v1.2.3
    • 49.91
    • Published

    electron-is-dev

    Check if Electron is running in development

    • v3.0.1
    • 49.86
    • Published

    has-async-hooks

    check if the current node version has async_hooks.

    • v1.0.0
    • 49.34
    • Published

    shallow-equals

    Determine if an array or object is equivalent with another, *not* recursively

    • v1.0.0
    • 49.26
    • Published

    string-left-right

    Looks up the first non-whitespace character to the left/right of a given index

    • v6.1.0
    • 49.17
    • Published

    typechecker

    Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)

    • v9.3.0
    • 49.14
    • Published

    is-language-code

    Is given string a language code (as per IANA)

    • v5.1.0
    • 49.10
    • Published

    which-promise

    Promisified version of node-which

    • v1.0.0
    • 49.01
    • Published

    process-exists

    Check if a process is running

    • v5.0.0
    • 48.93
    • Published

    is-in-ssh

    Check if the process is running in an SSH session

    • v1.0.0
    • 48.77
    • Published

    hasbin

    Check whether a binary exists in the PATH environment variable

    • v1.2.3
    • 48.71
    • Published

    tcp-check-ip

    use tcp check domain/ip

      • v1.0.15
      • 48.55
      • Published

      ts-expect

      Checks TypeScript types match expected values

      • v1.3.0
      • 48.31
      • Published

      is-fn

      Check if a value is a function

      • v3.0.0
      • 48.22
      • Published

      is-nil

      Checks if the given value is null or undefined

      • v1.0.1
      • 47.95
      • Published

      is-identifier

      Check if a string is a valid JavaScript identifier

      • v1.0.1
      • 47.87
      • Published

      is-string-and-not-blank

      3x as fast as `is-whitespace` and `whitespace-regex` thanks to `is-string-blank`. This package is a simple function that accepts an argument and returns `true` if it is a string AND it is not blank. Supports Node and Browser environments.

      • v0.0.2
      • 47.80
      • Published

      gulp-eslint

      A gulp plugin for processing files with ESLint

      • v6.0.0
      • 47.65
      • Published

      npm-name

      Check whether a package or organization name is available on npm

      • v8.0.0
      • 47.43
      • Published

      better-npm-audit

      Reshape into a better npm audit for the community and encourage more people to include security audit into their process.

      • v3.11.0
      • 47.37
      • Published

      is-native

      Checks if the given value is a native function.

      • v1.0.1
      • 47.35
      • Published

      json-fixer

      A JSON fixer

      • v1.6.15
      • 47.15
      • Published

      is-zip

      Check if a Buffer/Uint8Array is a ZIP file

      • v1.0.0
      • 47.12
      • Published

      falsey

      Returns true if the given is falsey (according to JavaScript) or matches a 'falsey' keyword.

      • v1.0.0
      • 47.04
      • Published

      ember-cli-dependency-checker

      Ember CLI addon for detecting missing npm and bower dependencies before executing ember commands

      • v3.3.3
      • 46.91
      • Published

      dotenv-parse-variables

      Parse dotenv files for Boolean, Array, and Number variable types, built for CrocodileJS

      • v2.0.0
      • 46.89
      • Published

      bundlewatch

      Keep watch of your bundle size

      • v0.4.1
      • 46.85
      • Published

      audio-type

      Detect the audio type of a Buffer/Uint8Array

      • v2.2.1
      • 46.77
      • Published

      image-type

      Detect the image type of an ArrayBuffer/Uint8Array

      • v6.0.0
      • 46.64
      • Published

      is-iterable

      Checks if a given object is iterable

      • v1.1.1
      • 46.49
      • Published

      is-win

      Check if the machine is running Windows or not.

      • v1.0.11
      • 46.45
      • Published

      markdown-link-check

      checks the all of the hyperlinks in a markdown text to determine if they are alive or dead

      • v3.14.2
      • 46.23
      • Published

      link-check

      checks whether a hyperlink is alive (200 OK) or dead

      • v5.5.1
      • 46.21
      • Published

      upath2

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

      • v3.1.20
      • 46.19
      • Published

      is-bzip2

      Check if a Buffer/Uint8Array is a BZIP2 file

      • v1.0.0
      • 46.12
      • Published

      empty-dir

      Check if a directory is empty.

      • v3.0.0
      • 46.11
      • Published

      isutf8

      Check if a Node.js Buffer or Uint8Array is UTF-8

      • v4.0.1
      • 46.10
      • Published

      endpoint-utils

      Utils to deal with TCP ports and hostnames. Safe for everyday use.

      • v1.0.2
      • 45.94
      • Published

      eslint-config-xo-react

      ESLint shareable config for React to be used with eslint-config-xo

      • v0.29.0
      • 45.88
      • Published

      is-undefined

      Check if a value is undefined or not.

      • v1.0.12
      • 45.71
      • Published

      bundlesize

      Keep your library size in check

      • v0.18.2
      • 45.66
      • Published

      @1natsu/wait-element

      Detect the appearance of an element in the browser DOM

      • v4.1.2
      • 45.61
      • Published

      password-validator

      Validates password according to flexible and intuitive specifications

      • v5.3.0
      • 45.55
      • Published

      valid-filename

      Check if a string is a valid filename

      • v4.0.0
      • 45.33
      • Published

      strong-type

      allows easy type enforcement for all JS types objects and classes. it is also extensible and provides simple to use type checks for your own custom classes and types

      • v1.1.0
      • 45.02
      • Published

      quill-magic-url

      Checks for URLs during typing and pasting and automatically converts them to links.

      • v4.2.0
      • 44.46
      • Published

      jsvat

      Check the validity of the format of an EU VAT number

      • v2.5.4
      • 44.17
      • Published

      kasi

      A collection of functions for working with different casings.

      • v1.1.1
      • 43.77
      • Published

      npm-audit-resolver

      Aids humans and automation in managing npm audit results

      • v3.0.0-RC.0
      • 43.75
      • Published

      an-array

      Check if an object is an array or a typed array

      • v1.0.0
      • 43.68
      • Published

      is-ip-valid

      Check if a string is a valid IP address

      • v1.0.3
      • 43.62
      • Published

      has-own-deep

      Returns true if an object has an own, nested property using dot notation paths ('a.b.c').

      • v1.1.0
      • 43.50
      • Published

      detect-installed

      Checks that given package is installed globally or locally.

      • v2.0.4
      • 43.38
      • Published

      genversion

      A command line utility to read version from package.json and attach it into your module as a property

      • v3.2.0
      • 43.30
      • Published

      base58check

      Base58Check encoding

      • v2.0.0
      • 43.27
      • Published

      wasm-check

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

      • v2.1.2
      • 43.09
      • Published

      is-iojs

      is-iojs determines if runtime is io.js.

      • v1.1.0
      • 42.94
      • Published

      firstline

      Async npm module for Node JS that reads the first line of a file

      • v2.0.2
      • 42.92
      • Published

      any

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

      • v1.0.0
      • 42.89
      • Published

      ts-standard

      TypeScript Standard Style based on StandardJS

      • v12.0.2
      • 42.41
      • Published