Skip to content

nonbili/purescript-css-validate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-css-validate

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

About

Validate CSS property and value pair

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published