Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

cssstyle

jsdom106.7mMIT4.3.1TypeScript support: definitely-typed

CSSStyleDeclaration Object Model implementation

CSS, CSSStyleDeclaration, StyleSheet

readme

CSSStyleDeclaration

A Node.js implementation of the CSS Object Model CSSStyleDeclaration class.

Background

This package is an extension of the CSSStyleDeclaration class in Nikita Vasilyev's CSSOM, with added support for modern specifications. The primary use case is for testing browser code in a Node environment.

It was originally created by Chad Walker, it is now maintained by the jsdom community.

Bug reports and pull requests are welcome.