8000 GitHub - art-emini/isType.js: Simple library to check for many types. · GitHub
[go: up one dir, main page]

Skip to content
art-eminiPublic

About

Simple library to check for many types.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

isType.js

isType.js is a Simple library to check for many types.

isType.js works on both browsers and Node.js.

Features

  1. Checks for all types
  2. Checks for HTMLElement, HTMLScriptElement, SVG, Event, and HTMLEmbeds
  3. Checks for regex
  4. Check if link/url is valid
  5. Check if regex with/without flags is valid
  6. And more

Download

Github

  1. Download the latest release from Github.

  2. Import/Require module.

    Browsers

    Link with script tag or import as module

    Node JS

    Require module

  3. Done! Read the docs.

NPM

  1. Run npm i @ksplat/istype
  2. Done! Read the docs.

CDN

Development

Add this script tag: <script defer src="https://cdn.jsdelivr.net/npm/@ksplat/istype@1.0.0/build/isType.js" ></script>

Production

Add this script tag: <script defer src="https://cdn.jsdelivr.net/npm/@ksplat/istype@1.0.0/build/isType.min.js" ></script>

About

Simple library to check for many types.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages

0