Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frontend-layers/css-test
Node.js library for testing CSS and output errors in the console with Gulp.js compatibilities
https://github.com/frontend-layers/css-test
css css3
Last synced: 3 days ago
JSON representation
Node.js library for testing CSS and output errors in the console with Gulp.js compatibilities
- Host: GitHub
- URL: https://github.com/frontend-layers/css-test
- Owner: Frontend-Layers
- License: mit
- Created: 2022-09-09T21:59:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-09T22:20:36.000Z (over 2 years ago)
- Last Synced: 2024-11-19T19:24:43.204Z (2 months ago)
- Topics: css, css3
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CSS Test
_Node.js library for testing CSS and output errors in the console with Gulp.js compatibilities_
[![License:MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/andreymatin/css-test/LICENSE)
[![npm](https://img.shields.io/npm/v/css-test-npm.svg)](https://www.npmjs.com/package/css-test-npm)## How to install
### npm
```shell
npm i css-test-npm
```### yarn
```shell
yarn add css-test-npm
```## How to use
```javascript
import cssTest from 'css-test-npm'const cssUrl = ''
cssTest(cssUrl)
```## Gulp.js integration
```javascript
import gulp from 'gulp'
const { parallel, series, watch } = gulpimport cssTest from 'css-test-npm'
const cssUrl = ''
const cssTestRes = () => cssTest(cssUrl)export default parallel(cssTestRes)
```## Reference
- https://jigsaw.w3.org/css-validator/api.html
---
[MIT License](LICENSE)