Socket
Socket
Sign inDemoInstall

cssdb

Package Overview
Dependencies
0
Maintainers
3
Versions
65
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cssdb

A comprehensive list of CSS features and their positions in the process of becoming implemented web standards


Version published
Weekly downloads
6M
decreased by-2.82%
Maintainers
3
Install size
137 kB
Created
Weekly downloads
 

Package description

What is cssdb?

The cssdb npm package is a comprehensive database of CSS features and their stages in the CSS standardization process. It provides a structured list of current, upcoming, and experimental CSS features, making it a valuable resource for developers looking to stay up-to-date with the latest in CSS or to polyfill future CSS features. The package can be used to programmatically access information about CSS features, their specifications, and implementation status across different browsers.

What are cssdb's main functionalities?

Accessing CSS feature data

This code sample demonstrates how to import the cssdb package and retrieve an array of CSS features. Each feature in the array includes details such as the feature's name, description, stage in the standardization process, and links to the specification.

const cssdb = require('cssdb');
const features = cssdb();
console.log(features);

Filtering CSS features by stage

This example shows how to filter CSS features by their stage in the standardization process. In this case, it filters for features that are at stage 2, which represents a draft state where the feature is still under discussion.

const cssdb = require('cssdb');
const stage2Features = cssdb().filter(feature => feature.stage === 2);
console.log(stage2Features);

Other packages similar to cssdb

Changelog

Source

8.0.0 (March 30, 2024)

  • Added contrast-color-function
  • Added web-feature identifiers for some features
  • Changed license to MIT-0 to align with postcss-preset-env
  • Removed color-contrast
  • Removed color-mod-function
  • Removed custom-property-sets
  • Removed gray-function
  • Removed matches-pseudo-class

Readme

Source

cssdb cssdb logo

NPM Version Build Status

cssdb is a comprehensive list of CSS features and their positions in the process of becoming implemented web standards.


Did you come here to update the status of a CSS feature or add a new one? Quick, read CONTRIBUTING.md.

Did you come here to learn about the stages? Quick, read STAGES.md.


cssdb ranks CSS features by stages that reflect the real-life stability of new CSS features.

You can read an inside view of the CSSWG to learn about the official (and unofficial) development stages of CSS specifications. In reality, specifications and browser implementations happen out of sync. For example, there are stable CSS features missing in all browsers, while other CSS features developed outside the CSSWG have appeared in browsers behind flags. This is too ambiguous for the web development community, and a more accountable process is desired.

Keywords

FAQs

Last updated on 30 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc