{
  "author": {
    "name": "Felix Böhm",
    "email": "me@feedic.com",
    "url": "http://feedic.com"
  },
  "name": "CSSwhat",
  "description": "a CSS selector parser",
  "version": "0.4.7",
  "repository": {
    "url": "https://github.com/FB55/CSSwhat"
  },
  "main": "./index.js",
  "scripts": {
    "test": "node tests/test.js && jshint *.js"
  },
  "dependencies": {},
  "devDependencies": {
    "jshint": "2"
  },
  "optionalDependencies": {},
  "engines": {
    "node": "*"
  },
  "license": "BSD-like",
  "jshintConfig": {
    "eqeqeq": true,
    "freeze": true,
    "latedef": "nofunc",
    "noarg": true,
    "nonbsp": true,
    "quotmark": "double",
    "undef": true,
    "unused": true,
    "trailing": true,
    "eqnull": true,
    "proto": true,
    "smarttabs": true,
    "node": true,
    "globals": {
      "describe": true,
      "it": true
    }
  },
  "readme": "#CSSwhat [![Build Status](https://secure.travis-ci.org/fb55/CSSwhat.png?branch=master)](http://travis-ci.org/fb55/CSSwhat)\n\na CSS selector parser\n\n##Example\n\n```js\nrequire('CSSwhat')('foo[bar]:baz')\n\n~> [ [ { type: 'tag', name: 'foo' },\n    { type: 'attribute',\n      name: 'bar',\n      action: 'exists',\n      value: '',\n      ignoreCase: false },\n    { type: 'pseudo',\n      name: 'baz',\n      data: null } ] ]\n```\n\n##API\n\n__`CSSwhat(selector, options)` - Parses `str`, with the passed `options`.__\n\nThe function returns a two-dimensional array. The first array represents subselects separated by commas (eg. `sub1, sub2`), the second contains the relevant tokens for that selector. Possible token types are:\n\nname | attributes | example | output\n---- | ---------- | ------- | ------\n`tag`| `name`    | `div`   | `{ type: 'tag', name: 'div' }`\n`universal`| -   | `*`     | `{ type: 'universal' }`\n`pseudo`| `name`, `data`|`:name(data)`| `{ type: 'pseudo', name: 'name', data: 'data' }`\n`pseudo`| `name`, `data`|`:name`| `{ type: 'pseudo', name: 'name', data: null }`\n`attribute`|`name`, `action`, `value`, `ignoreCase`|`[attr]`|`{ type: 'attribute', name: 'attr', action: 'exists', value: '', ignoreCase: false }`\n`attribute`|`name`, `action`, `value`, `ignoreCase`|`[attr=val]`|`{ type: 'attribute', name: 'attr', action: 'equals', value: 'val', ignoreCase: false }`\n`attribute`|`name`, `action`, `value`, `ignoreCase`|`[attr^=val]`|`{ type: 'attribute', name: 'attr', action: 'start', value: 'val', ignoreCase: false }`\n`attribute`|`name`, `action`, `value`, `ignoreCase`|`[attr$=val]`|`{ type: 'attribute', name: 'attr', action: 'end', value: 'val', ignoreCase: false }`\n\n//TODO complete list\n\n__Options:__\n\n- `xmlMode`: When enabled, tagnames will be case-sensitive (ie. the output won't be lowercased).\n\n---\n\nLicense: BSD-like\n",
  "readmeFilename": "readme.md",
  "bugs": {
    "url": "https://github.com/FB55/CSSwhat/issues"
  },
  "homepage": "https://github.com/FB55/CSSwhat",
  "_id": "CSSwhat@0.4.7",
  "_shasum": "867da0ff39f778613242c44cfea83f0aa4ebdf9b",
  "_from": "CSSwhat@0.4",
  "_resolved": "https://registry.npmjs.org/CSSwhat/-/CSSwhat-0.4.7.tgz"
}
