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

    matches-selector-2public

    matches-selector

    Check if an element matches a given selector.

    Installation

    $ component install component/matches-selector
    

    Example

    var matches = require('matches-selector');
    matches(el, 'ul li a');
    // => true 

    License

    MIT

    Keywords

    none

    install

    npm i matches-selector-2

    Downloadsweekly downloads

    10

    version

    0.1.0

    license

    none

    last publish

    collaborators

    • avatar