@types/caniuse-api

  • Version 3.0.6
  • Published
  • 4.11 kB
  • No dependencies
  • MIT license

Install

npm i @types/caniuse-api
yarn add @types/caniuse-api
pnpm add @types/caniuse-api

Overview

TypeScript definitions for caniuse-api

Index

Variables

variable features

const features: string[];

    Functions

    function find

    find: (query: string) => string[];

      function getBrowserScope

      getBrowserScope: () => string[];

        function getLatestStableBrowsers

        getLatestStableBrowsers: () => string[];

          function getSupport

          getSupport: (feature: string) => BrowserSupport;

            function isSupported

            isSupported: (feature: string, browsers: string | readonly string[]) => boolean;

              function setBrowserScope

              setBrowserScope: (browserscope: string | readonly string[]) => void;

                Interfaces

                interface BrowserSupport

                interface BrowserSupport {}

                  index signature

                  [browser: string]: {
                  y?: number | undefined;
                  n?: number | undefined;
                  a?: number | undefined;
                  x?: number | undefined;
                  p?: number | undefined;
                  };

                    Package Files (1)

                    Dependencies (0)

                    No dependencies.

                    Dev Dependencies (0)

                    No dev dependencies.

                    Peer Dependencies (0)

                    No peer dependencies.

                    Badge

                    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/caniuse-api.

                    • Markdown
                      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/caniuse-api)
                    • HTML
                      <a href="https://www.jsdocs.io/package/@types/caniuse-api"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>