Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

known-css-properties

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

known-css-properties

List of known CSS properties

  • 0.35.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.6M
increased by0.66%
Maintainers
1
Weekly downloads
 
Created

What is known-css-properties?

The known-css-properties npm package provides a comprehensive list of all known CSS properties. It is useful for validating CSS properties, building CSS parsers, or creating tools that need to work with CSS properties.

What are known-css-properties's main functionalities?

List all known CSS properties

This feature allows you to retrieve a list of all known CSS properties. The code sample demonstrates how to import the package and log the list of properties to the console.

const knownCssProperties = require('known-css-properties');
console.log(knownCssProperties.all);

Check if a property is known

This feature allows you to check if a specific CSS property is known. The code sample shows how to check if 'color' is a known CSS property.

const knownCssProperties = require('known-css-properties');
const isKnown = knownCssProperties.all.includes('color');
console.log(isKnown); // true

Other packages similar to known-css-properties

Keywords

FAQs

Package last updated on 18 Oct 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc