/ c4f / front / node_modules / clear-cut /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[TXT]LICENSE.md8 months ago1.0K 
[TXT]README.md8 months ago738  
[   ]appveyor.yml8 months ago278  
[   ]index.js8 months ago4.0K 
[   ]package.json8 months ago674  
README.md

Clear cut

OS X Build Status Windows Build Status Dependency Status

Calculate the specificity of a CSS selector

Using

npm install clear-cut
{specificity} = require 'clear-cut'
specificity('body') # 1
specificity('#footer') # 100
specificity('.error.message') # 20

Developing

git clone https://github.com/atom/clear-cut.git
cd clear-cut
npm install
npm test
Apache/2.4.38 (Debian) Server at www.karls.computer Port 80