- Notifications
You must be signed in to change notification settings - Fork1
tonypconway/web-features-plus-webview
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
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}}}
npm install path/to/web-features-plus-webview
To build the module from source, you need to have Node.js and npm installed.
- Clone the repository:
git clone https://github.com/your-username/web-features-plus-webview.git
- Install the dependencies:
npm install
- Build the module:
npm run build
The built module will be in thedist directory.
About
No description, website, or topics provided.
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published