{
"name": "cssom",
"description": "CSS Object Model implementation and CSS parser",
"keywords": [
"CSS",
"CSSOM",
"parser",
"styleSheet"
],
"version": "0.2.5",
"homepage": "https://github.com/NV/CSSOM",
"author": {
"name": "Nikita Vasilyev",
"email": "me@elv1s.ru"
},
"repository": {
"type": "git",
"url": "git://github.com/NV/CSSOM.git"
},
"bugs": {
"url": "https://github.com/NV/CSSOM/issues"
},
"directories": {
"lib": "./lib"
},
"main": "./lib/index.js",
"engines": {
"node": ">=0.2.0"
},
"devDependencies": {
"jake": "0.2.x"
},
"licenses": [
{
"type": "MIT",
"url": "http://creativecommons.org/licenses/MIT/"
}
],
"scripts": {
"prepublish": "jake lib/index.js"
},
"readme": "# CSSOM\n\nCSSOM.js is a CSS parser written in pure JavaScript. It also a partial implementation of [CSS Object Model](http://dev.w3.org/csswg/cssom/). \n\n CSSOM.parse(\"body {color: black}\")\n -> {\n cssRules: [\n {\n selectorText: \"body\",\n style: {\n 0: \"color\",\n color: \"black\",\n length: 1\n }\n }\n ]\n }\n\n\n## [Parser demo](http://nv.github.com/CSSOM/docs/parse.html)\n\nWorks well in Google Chrome 6+, Safari 5+, Firefox 3.6+, Opera 10.63+.\nDoesn't work in IE < 9 because of unsupported getters/setters.\n\nTo use CSSOM.js in the browser you might want to build a one-file version with [Jake](http://github.com/mde/node-jake):\n\n ➤ jake\n build/CSSOM.js is done\n\nTo use it with Node.js:\n\n npm install cssom\n\n## [Specs](http://nv.github.com/CSSOM/spec/)\n",
"_id": "cssom@0.2.5",
"_from": "cssom@0.2.x"
}