Package

purescript-css-validate

Repository
nonbili/purescript-css-validate
License
BSD-3-Clause
Uploaded by
rnons
Published on
2019-08-12

purescript-css-validate on Pursuit CircleCI

Validate single CSS property and value pair.

Usage

csstree is used underneath, install it by

# csstree is a different package
npm i css-tree
import CSS.Validate (isDeclarationValid)
isDeclarationValid "color" "indigo"   -- true
isDeclarationValid "color" "indigogo" -- false
Modules
CSS.Validate
Dependencies