1.0.15 • Published 1 year ago

@hint/utils-css v1.0.15

Weekly downloads
3,734
License
Apache-2.0
Repository
github
Last release
1 year ago

CSS utils (@hint/utils-CSS)

Set of helpers to process CSS.

Installation

This package is installed automatically when adding webhint to your project so running the following is enough:

npm install hint --save-dev

Utils

  • getCSSCodeSnippet: Generate a Snippet code for a CSS node.
  • getCSSLocationFromNode: Returns the location of a CSS node.
  • getFullCSSCodeSnippet: Generate a full Snippet code for a CSS node.