Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

tonypconway/web-features-plus-webview

Repository files navigation

This module exports an augmented version of thefeatures object exported fromweb-features.

import{features}from"web-features-plus-webview";

The features object uses the same web feature IDs you can find inweb-features or theWeb Status dashboard, but with an additional property added to all objects withkind: "feature" and which are Baseline Newly or Widely available (i.e.status.baseline === 'low' || status.baseline === 'high'):

webview_support:{all:"supported"|"partial"|"unsupported"|"discouraged",// whether the feature is supported to the same level in all webviews as their corresponding browsersandroid:"supported"|"partial"|"unsupported"|"discouraged",// whether the feature has equivalent support in Android webview as Chrome for Androidios:"supported"|"partial"|"unsupported"|"discouraged",// whether the feature has equivalent support in iOS webviews as Safari for iOS// Arrays of@mdn/browser-compat-data keys indicating which features are unsupported by the named webview that are supported in their corresponding browserandroid_unsupported_compat_features?:array,ios_unsupported_compat_features?:array,}

In addition, in thestatus.by_compat_key object, each MDN key has a corresponding object indicating the webview support for that key:

'mdn.bcd.key':{  ...,webview_support:{android:boolean|string,// false or the version addedios:boolean|string,// false or the version addedandroid_gap?:{// only included if there is a difference between Android Chrome and Webview Versionsversions:number,// the number of versions differencetime:number,// the number of days between the Chrome and Webview releases},ios_gap?:{// only included if there is a difference between iOS Safari and Webview Versionsversions:number,// the number of versions differencetime:number,// the number of days between the Safari and Webview releases}}}

Installation

npm install path/to/web-features-plus-webview

Building from source

To build the module from source, you need to have Node.js and npm installed.

  1. Clone the repository:
git clone https://github.com/your-username/web-features-plus-webview.git
  1. Install the dependencies:
npm install
  1. Build the module:
npm run build

The built module will be in thedist directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp