Nerdy People Matriculate
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    clear-cutpublic

    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

    install

    npm i clear-cut

    Downloadsweekly downloads

    1,229

    version

    2.0.2

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar