Skip to content
This repository was archived by the owner on May 28, 2022. It is now read-only.

projectwallace/split-css-value

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

split-css-value

Split a comma-separated CSS value into an array of single values

NPM Version Weekly downloads Build Status Known Vulnerabilities Dependencies Status Dependencies Status Project: Wallace

Installation

npm install split-css-value

Usage

const splitValue = require('split-css-value')
const values = splitValue('color 2s, background 4s linear 1s')

console.log(values)
//=> ['color 2s', 'background 4s linear 1s']

About

Split a comma-separated CSS value into an array of single values

Resources

License

Stars

Watchers

Forks

Packages

No packages published