Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jsdom/cssstyle
A Node.js implementation of the CSS Object Model CSSStyleDeclaration interface
https://github.com/jsdom/cssstyle
css cssom cssstyledeclaration jsdom
Last synced: 3 days ago
JSON representation
A Node.js implementation of the CSS Object Model CSSStyleDeclaration interface
- Host: GitHub
- URL: https://github.com/jsdom/cssstyle
- Owner: jsdom
- License: mit
- Created: 2012-07-11T03:51:46.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2024-09-07T07:08:25.000Z (4 months ago)
- Last Synced: 2024-11-29T07:08:22.120Z (23 days ago)
- Topics: css, cssom, cssstyledeclaration, jsdom
- Language: JavaScript
- Homepage:
- Size: 694 KB
- Stars: 109
- Watchers: 11
- Forks: 70
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# CSSStyleDeclaration
A Node JS implementation of the CSS Object Model [CSSStyleDeclaration interface](https://www.w3.org/TR/cssom-1/#the-cssstyledeclaration-interface).
[![NpmVersion](https://img.shields.io/npm/v/cssstyle.svg)](https://www.npmjs.com/package/cssstyle) [![Build Status](https://travis-ci.org/jsdom/cssstyle.svg?branch=main)](https://travis-ci.org/jsdom/cssstyle) [![codecov](https://codecov.io/gh/jsdom/cssstyle/branch/main/graph/badge.svg)](https://codecov.io/gh/jsdom/cssstyle)
---
#### Background
This package is an extension of the CSSStyleDeclaration class in Nikita Vasilyev's [CSSOM](https://github.com/NV/CSSOM) with added support for CSS 2 & 3 properties. 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.