0.0.5 • Published 12 months ago

web-api-checker v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Web API Checker

codeql release license npm

Just check the web api is available or not before using it, inspired by toniengelhardt.

npm install web-api-checker

Usage

import { isWebAPISupport } from 'web-api-checker';

// check all api support in https://api-checker.lmmmmmm.dev
console.log(isWebAPISupport('WebGPU')); // false
console.log(isWebAPISupport('WebSocket')); // true
// check multiple web api
console.log(isWebAPISupport(['WebGPU', 'WebSocket'])); // false
0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.1-beta.0

1 year ago