# parse-selector **Repository Path**: mirrors_Jam3/parse-selector ## Basic Information - **Project Name**: parse-selector - **Description**: Pass in a selector will return an array which describes the parts of the selector - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # parse-selector [![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges) Pass in a selector will return an array which describes the parts of the selector ## Usage [![NPM](https://nodei.co/npm/parse-selector.png)](https://www.npmjs.com/package/parse-selector) ```javascript var parse = require('parse-selector'); var info = parse('div#id div.classA .classB'); // info will look like this: // [ // { // el: 'div', // id: '#id' // }, // { // el: 'div', // className: '.classA' // }, // { // className: '.classB' // } // ] ``` ## License MIT, see [LICENSE.md](http://github.com/Jam3/parse-selector/blob/master/LICENSE.md) for details.