2.4.0 • Published 10 months ago

web-features v2.4.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
10 months ago

Curated list of Web platform features

This package is experimental, expect frequent breaking changes!

Usage

npm install web-features
import webFeatures from 'web-features';
// import webFeatures from 'web-features/index.json' assert { type: 'json' }

Rendering baseline statuses with web-features

If you're using web-features to render baseline iconography (green check logo and yellow X caution logo) or browser logos with support markers, then you must follow these procedures to ensure consistent usage.

For baseline iconography, follow this procedure for each feature:

  1. If status.is_baseline is true, then show the baseline (🟢 affirmative, green check) badge.
  2. If status.is_baseline is false, then show the non-baseline (🟡 caution, yellow X) badge.
  3. If status.is_baseline is undefined, then do not show any baseline or non-baseline badge.

For browser support iconography (that is, browser logos and checkmarks and Xs), follow this procedure, for each feature and browser (Chrome, Edge, Firefox, and Safari):

  1. Do not show a version number, whether one is provided.
  2. If status.is_baseline is true, then show a green checkmark (✅) beside each browser's logo icon.
  3. If status.is_baseline is false and the browser's status.support key (for example, status.support.edge) is undefined or false, then show a gray X ("unsupported") beside the browser's logo icon.
  4. If status.is_basline is true and the browser's status.support key is a string, then show a green checkmark ("supported") beside the brower's logo icon.
2.3.0

10 months ago

2.4.0

10 months ago

2.1.0

10 months ago

2.2.0

10 months ago

1.3.0

12 months ago

1.4.0

11 months ago

2.0.0

11 months ago

0.8.5

1 year ago

0.8.4

1 year ago

0.8.6

1 year ago

0.10.0

1 year ago

0.8.3

1 year ago

0.9.0

1 year ago

1.2.0

12 months ago

1.1.0

1 year ago

1.0.0

1 year ago

0.8.2

1 year ago

0.8.1

1 year ago

0.8.0

1 year ago

0.7.0

1 year ago

0.6.4

1 year ago

0.6.3

1 year ago

0.6.2

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.1

2 years ago

0.5.0

2 years ago

0.5.0-alpha.2

2 years ago

0.5.0-alpha.1

2 years ago

0.5.0-alpha.0

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.1.0

3 years ago