Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
A comprehensive list of CSS features and their positions in the process of becoming implemented web standards
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.
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);
PostCSS is a tool for transforming CSS with JavaScript plugins. While cssdb provides a database of CSS features, PostCSS allows developers to write plugins that can transform CSS by adding fallbacks for future CSS features, linting CSS, and more. PostCSS can be extended with plugins that utilize the data from cssdb to polyfill future CSS features.
The caniuse-api provides access to browser support tables for modern web technologies from the Can I Use website. Unlike cssdb, which focuses on the standardization stages of CSS features, caniuse-api offers detailed information about the support and compatibility of web technologies across various browsers and versions. It's more focused on browser support data rather than the standardization process.
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.
FAQs
A comprehensive list of CSS features and their positions in the process of becoming implemented web standards
The npm package cssdb receives a total of 3,513,339 weekly downloads. As such, cssdb popularity was classified as popular.
We found that cssdb demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
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.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.