{"maintainers":[{"name":"anonymous","email":"todd@twolfson.com"}],"keywords":["cross-browser","getComputedStyle","currentStyle","css","style"],"dist-tags":{"latest":"0.3.0"},"author":{"name":"Todd Wolfson","email":"todd@twolfson.com","url":"http://twolfson.com/"},"description":"Cross-browser currentStyle/getComputedStyle implementation","readme":"# computedStyle\n\nCross-browser currentStyle/getComputedStyle implementation\n\n[![testling-ci badge](https://ci.testling.com/twolfson/computedStyle.png)](https://ci.testling.com/twolfson/computedStyle)\n\n## Getting Started\nDownload one of the available flavors:\n\n- [Production version][min]\n- [Development version][max] - Available via `bower install computedStyle`\n- [CommonJS version][commonjs] - Available via `npm install computed-style` and `component install twolfson/computedStyle`\n- [AMD version][amd]\n\n[min]: https://raw.github.com/twolfson/computedStyle/master/dist/computedStyle.min.js\n[max]: https://raw.github.com/twolfson/computedStyle/master/dist/computedStyle.js\n[commonjs]: https://raw.github.com/twolfson/computedStyle/master/dist/computedStyle.commonjs.js\n[amd]: https://raw.github.com/twolfson/computedStyle/master/dist/computedStyle.amd.js\n\nIn your web page:\n\n```html\n<script src=\"dist/computedStyle.min.js\"></script>\n<script>\ncomputedStyle(el, 'color'); // Returns color of the element\n</script>\n```\n\n## Documentation\n`computedStyle` is a single purpose function\n```js\ncomputedStyle(element, property);\n/**\n * Cross-browser getComputedStyle\n * @param {HTMLElement} el Element to get property from\n * @param {String} prop Property to look up (DOM, zIndex, and CSS, z-index, formats accepted)\n * @returns Property from the browser\n *\n * @note These properties can vary from browser to browser.\n * For example, IE6 will return #FF0000 whereas Firefox will return rgb(255, 0, 0)\n * I have chosen to avoid this for this repo as it exits the single purpose\n * and jQuery follows the same approach.\n */\n```\n\n## Examples\n```js\n// Grab the z-index of an element\ncomputedStyle(el, 'z-index');\n\n// Grab the background-color of an element\ncomputedStyle(el, 'background-color');\n```\n\n## Donating\nSupport this project and [others by twolfson][gratipay] via [gratipay][].\n\n[![Support via Gratipay][gratipay-badge]][gratipay]\n\n[gratipay-badge]: https://cdn.rawgit.com/gratipay/gratipay-badge/2.x.x/dist/gratipay.png\n[gratipay]: https://www.gratipay.com/twolfson/\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint your code using `npm run lint` and test via `npm test`.\n\n## License\nCopyright (c) 2013 Todd Wolfson\n\nLicensed under the MIT license.\n","repository":{"type":"git","url":"git://github.com/twolfson/computedStyle.git"},"users":{"zuojiang":true},"bugs":{"url":"https://github.com/twolfson/computedStyle/issues"},"versions":{"0.1.0":{"name":"computed-style","description":"Cross-browser currentStyle/getComputedStyle implementation","version":"0.1.0","homepage":"https://github.com/twolfson/computedStyle","author":{"name":"Todd Wolfson","email":"todd@twolfson.com","url":"http://twolfson.com/"},"repository":{"type":"git","url":"git://github.com/twolfson/computedStyle.git"},"bugs":{"url":"https://github.com/twolfson/computedStyle/issues"},"main":"dist/computedStyle.commonjs.js","licenses":[{"type":"MIT","url":"https://github.com/twolfson/computedStyle/blob/master/LICENSE-MIT"}],"scripts":{"test":"testem --file test/testem.json ci"},"dependencies":{},"devDependencies":{"grunt":"~0.3.17","mocha":"~1.9.0","testem":"~0.2.83","grunt-templater":"0.0.4","grunt-text-replace":"~0.2.10","grunt-jsmin-sourcemap":"~1.7.0","mustache":"~0.7.2"},"keywords":["cross-browser","getComputedStyle","currentStyle","css","style"],"testling":{"files":"test/*.js","scripts":["dist/computedStyle.js"],"harness":"mocha","browsers":["ie/6..latest","chrome/20..latest","firefox/10..latest","safari/latest","opera/11.0..latest","iphone/6","ipad/6"]},"_id":"computed-style@0.1.0","dist":{"shasum":"3c92ae9699daabdee81fe42da30512e36ffb2f94","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/computed-style/-/computed-style-0.1.0.tgz","integrity":"sha512-LulE/Lvy97hVyH4jnyjjw5DwEkLBACWlI752veLjnCHEoFu5NBCBl1vZ6b0Pc/F79NBsi7YBd1X5Tyg39iGs+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+/PoX72xbP4EEIACBvRD1o8NQNogoOV91jQW+pBDCLAIgb2gszwrwn7vt8NAusQxCx1fvEuR8eGi7F1EGruzvk2w="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"anonymous","email":"todd@twolfson.com"},"maintainers":[{"name":"anonymous","email":"todd@twolfson.com"}]},"0.1.1":{"name":"computed-style","description":"Cross-browser currentStyle/getComputedStyle implementation","version":"0.1.1","homepage":"https://github.com/twolfson/computedStyle","author":{"name":"Todd Wolfson","email":"todd@twolfson.com","url":"http://twolfson.com/"},"repository":{"type":"git","url":"git://github.com/twolfson/computedStyle.git"},"bugs":{"url":"https://github.com/twolfson/computedStyle/issues"},"main":"dist/computedStyle.commonjs.js","licenses":[{"type":"MIT","url":"https://github.com/twolfson/computedStyle/blob/master/LICENSE-MIT"}],"scripts":{"test":"testem --file test/testem.json ci"},"dependencies":{},"devDependencies":{"grunt":"~0.3.17","mocha":"~1.9.0","testem":"~0.2.83","grunt-templater":"0.0.4","grunt-text-replace":"~0.2.10","grunt-jsmin-sourcemap":"~1.7.0","mustache":"~0.7.2"},"keywords":["cross-browser","getComputedStyle","currentStyle","css","style"],"testling":{"files":"test/*.js","scripts":["dist/computedStyle.js"],"harness":"mocha","browsers":["ie/6..latest","chrome/20..latest","chrome/canary","firefox/10..latest","firefox/nightly","safari/latest","opera/11.0..latest","opera/next","iphone/6","ipad/6"]},"_id":"computed-style@0.1.1","dist":{"shasum":"e0c89ae3c7a0633a51f747d928a9e7c368545913","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/computed-style/-/computed-style-0.1.1.tgz","integrity":"sha512-UHY0XRLkZ6aiUJUnTNwiKLdmnGjDenWXul0LMynWubzq/2wAJnMlsT3VboU8vB7zY9x13zUKR6e6XAfRpm5wcQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGVgz+DrDoAK7aK7NFAyjytWNnLuSEfcSVs87aeHQsjbAiAK4SGZA1l9RKsil11lWv2nT20YA5mt1EasapKKCs8XWQ=="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"anonymous","email":"todd@twolfson.com"},"maintainers":[{"name":"anonymous","email":"todd@twolfson.com"}]},"0.1.2":{"name":"computed-style","description":"Cross-browser currentStyle/getComputedStyle implementation","version":"0.1.2","homepage":"https://github.com/twolfson/computedStyle","author":{"name":"Todd Wolfson","email":"todd@twolfson.com","url":"http://twolfson.com/"},"repository":{"type":"git","url":"git://github.com/twolfson/computedStyle.git"},"bugs":{"url":"https://github.com/twolfson/computedStyle/issues"},"main":"dist/computedStyle.commonjs.js","licenses":[{"type":"MIT","url":"https://github.com/twolfson/computedStyle/blob/master/LICENSE-MIT"}],"scripts":{"test":"testem --file test/testem.json ci"},"dependencies":{},"devDependencies":{"grunt":"~0.3.17","mocha":"~1.9.0","testem":"~0.2.83","grunt-templater":"0.0.4","grunt-text-replace":"~0.2.10","grunt-jsmin-sourcemap":"~1.7.0","mustache":"~0.7.2"},"keywords":["cross-browser","getComputedStyle","currentStyle","css","style"],"testling":{"files":"test/*.js","scripts":["dist/computedStyle.js"],"harness":"mocha","browsers":["ie/6..latest","chrome/20..latest","chrome/canary","firefox/10..latest","firefox/nightly","safari/latest","opera/11.0..latest","opera/next","iphone/6","ipad/6"]},"_id":"computed-style@0.1.2","dist":{"shasum":"5680d5512794c5f634bb1edae9b8ac33bcedd486","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/computed-style/-/computed-style-0.1.2.tgz","integrity":"sha512-Z8JdpdyQTzdvP8uLYR5gjS5Qzv1g6WUkp+wfP1F7SfvzEcz6TucNCmbcNNzOxcOTnUoC+Fz1MtDqfW8n0QLBVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGjR9K/FDz8neXY7ijiXt61OrYbgIUyJerD1i1OGBF82AiBM/VMvfv3MTPYfY8qvYMvbdJyNEyvx0LaJsntOeAvpuA=="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"anonymous","email":"todd@twolfson.com"},"maintainers":[{"name":"anonymous","email":"todd@twolfson.com"}]},"0.1.3":{"name":"computed-style","description":"Cross-browser currentStyle/getComputedStyle implementation","version":"0.1.3","homepage":"https://github.com/twolfson/computedStyle","author":{"name":"Todd Wolfson","email":"todd@twolfson.com","url":"http://twolfson.com/"},"repository":{"type":"git","url":"git://github.com/twolfson/computedStyle.git"},"bugs":{"url":"https://github.com/twolfson/computedStyle/issues"},"main":"dist/computedStyle.commonjs.js","licenses":[{"type":"MIT","url":"https://github.com/twolfson/computedStyle/blob/master/LICENSE-MIT"}],"scripts":{"test":"testem --file test/testem.json ci"},"dependencies":{},"devDependencies":{"grunt":"~0.3.17","mocha":"~1.9.0","testem":"~0.2.83","grunt-templater":"0.0.4","grunt-text-replace":"~0.2.10","grunt-jsmin-sourcemap":"~1.7.0","mustache":"~0.7.2"},"keywords":["cross-browser","getComputedStyle","currentStyle","css","style"],"testling":{"files":"test/*.js","scripts":["dist/computedStyle.js"],"harness":"mocha","browsers":["ie/6..latest","chrome/20..latest","chrome/canary","firefox/10..latest","firefox/nightly","safari/latest","opera/11.0..latest","opera/next","iphone/6","ipad/6"]},"_id":"computed-style@0.1.3","dist":{"shasum":"04d2e1043de1e71a99794bdc16e4c9bea3265e10","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/computed-style/-/computed-style-0.1.3.tgz","integrity":"sha512-ytFqRLkLfqE5Z+vuYWgZWzqMBlwLAnCQWXT+d5eA/kbADI2XQqr3Wa+QlYocaXPgFRdcmrrB+lvl3NfLY14bQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC3JA0MH5VlaN4c6jvKqnl5l2LRkEfW0njUskX4Y4J+PAiBE5AJugyVXuYRtN1S1Kf+BycIemcE4HwsAG4UQM0H45g=="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"anonymous","email":"todd@twolfson.com"},"maintainers":[{"name":"anonymous","email":"todd@twolfson.com"}]},"0.1.4":{"name":"computed-style","description":"Cross-browser currentStyle/getComputedStyle implementation","version":"0.1.4","homepage":"https://github.com/twolfson/computedStyle","author":{"name":"Todd Wolfson","email":"todd@twolfson.com","url":"http://twolfson.com/"},"repository":{"type":"git","url":"git://github.com/twolfson/computedStyle.git"},"bugs":{"url":"https://github.com/twolfson/computedStyle/issues"},"main":"dist/computedStyle.commonjs.js","licenses":[{"type":"MIT","url":"https://github.com/twolfson/computedStyle/blob/master/LICENSE-MIT"}],"scripts":{"build":"grunt build","lint":"twolfson-style lint grunt.js dist/computedStyle.commonjs.js test/","_pretest":"twolfson-style install","test":"npm run build && npm run precheck && testem --file test/testem.json ci && npm run lint"},"dependencies":{},"devDependencies":{"grunt":"~0.3.17","grunt-jsmin-sourcemap":"~1.7.0","grunt-templater":"0.0.4","grunt-text-replace":"~0.2.10","jscs":"~1.8.1","jshint":"~2.5.10","mocha":"~1.9.0","mustache":"~0.7.2","testem":"~0.2.83","twolfson-style":"~1.6.0"},"keywords":["cross-browser","getComputedStyle","currentStyle","css","style"],"testling":{"files":"test/*.js","scripts":["dist/computedStyle.js"],"harness":"mocha","browsers":["ie/6..latest","chrome/20..latest","chrome/canary","firefox/10..latest","firefox/nightly","safari/latest","opera/11.0..latest","opera/next","iphone/6","ipad/6"]},"gitHead":"80953028c5abaa4255912d733e6fd96af9b2ca38","_id":"computed-style@0.1.4","_shasum":"7f344fd8584b2e425bedca4a1afc0e300bb05d74","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.33","_npmUser":{"name":"anonymous","email":"todd@twolfson.com"},"maintainers":[{"name":"anonymous","email":"todd@twolfson.com"}],"dist":{"shasum":"7f344fd8584b2e425bedca4a1afc0e300bb05d74","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/computed-style/-/computed-style-0.1.4.tgz","integrity":"sha512-WpAmaKbMNmS3OProfHIdJiNleNJdgUrJfbKArXua28QF7+0CoZjlLn0lp6vlc+dl5r2/X9GQiQRQQU4BzSa69w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDt8UbSLnzkQnwKpcx5c6QohD7HX4rAZhg2IcLraiIAYgIgCTs4biqfdmBKLKyAKkwAFnPAiD3uGyYSHdUwuxCt2dY="}]}},"0.2.0":{"name":"computed-style","description":"Cross-browser currentStyle/getComputedStyle implementation","version":"0.2.0","homepage":"https://github.com/twolfson/computedStyle","author":{"name":"Todd Wolfson","email":"todd@twolfson.com","url":"http://twolfson.com/"},"repository":{"type":"git","url":"git://github.com/twolfson/computedStyle.git"},"bugs":{"url":"https://github.com/twolfson/computedStyle/issues"},"main":"dist/computedStyle.commonjs.js","licenses":[{"type":"MIT","url":"https://github.com/twolfson/computedStyle/blob/master/LICENSE-MIT"}],"scripts":{"build":"grunt build","lint":"twolfson-style lint grunt.js lib/computedStyle.js test/","_pretest":"twolfson-style install","test":"npm run build && testem --file test/testem.json ci && npm run lint"},"dependencies":{},"devDependencies":{"grunt":"~0.3.17","grunt-jsmin-sourcemap":"~1.7.0","grunt-templater":"0.0.4","grunt-text-replace":"~0.2.10","jscs":"~1.8.1","jshint":"~2.5.10","mocha":"~1.9.0","mustache":"~0.7.2","testem":"~0.2.83","twolfson-style":"~1.6.0"},"keywords":["cross-browser","getComputedStyle","currentStyle","css","style"],"testling":{"files":"test/*.js","scripts":["dist/computedStyle.js"],"harness":"mocha","browsers":["ie/6..latest","chrome/20..latest","chrome/canary","firefox/10..latest","firefox/nightly","safari/latest","opera/11.0..latest","opera/next","iphone/6","ipad/6"]},"gitHead":"832fe20e8a989be1449b6144696f2851d536918e","_id":"computed-style@0.2.0","_shasum":"7f48ceb98ce4ef4576ae3d6b7b3e6ca577e80ae7","_from":".","_npmVersion":"2.1.12","_nodeVersion":"0.10.33","_npmUser":{"name":"anonymous","email":"todd@twolfson.com"},"maintainers":[{"name":"anonymous","email":"todd@twolfson.com"}],"dist":{"shasum":"7f48ceb98ce4ef4576ae3d6b7b3e6ca577e80ae7","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/computed-style/-/computed-style-0.2.0.tgz","integrity":"sha512-2bE1b/uPsol1GEsmFBAioJAXOBzj7DIJYPmmyeD5AAmWv3TS9wUQu94DuyfwRmeR7JTyQtwxe402rOXKE5zSwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXg2khi6Eugxcu03SEFFCJhZoKcRP0w5864AJFwIsLVwIgf79se2PdDWqEUOF7pbA2J+LnhcY7+r5hgzU5RL29BFs="}]}},"0.3.0":{"name":"computed-style","description":"Cross-browser currentStyle/getComputedStyle implementation","version":"0.3.0","homepage":"https://github.com/twolfson/computedStyle","author":{"name":"Todd Wolfson","email":"todd@twolfson.com","url":"http://twolfson.com/"},"repository":{"type":"git","url":"git://github.com/twolfson/computedStyle.git"},"bugs":{"url":"https://github.com/twolfson/computedStyle/issues"},"main":"dist/computedStyle.commonjs.js","licenses":[{"type":"MIT","url":"https://github.com/twolfson/computedStyle/blob/master/LICENSE-MIT"}],"scripts":{"build":"grunt build","lint":"twolfson-style lint grunt.js lib/computedStyle.js test/","_pretest":"twolfson-style install","test":"npm run build && testem --file test/testem.json ci && npm run lint"},"dependencies":{},"devDependencies":{"grunt":"~0.4.5","grunt-cli":"~0.1.13","grunt-contrib-uglify":"~0.6.0","grunt-templater":"0.0.4","jscs":"~1.8.1","jshint":"~2.5.10","mocha":"~1.9.0","mustache":"~0.7.2","testem":"~0.2.83","twolfson-style":"~1.6.0"},"keywords":["cross-browser","getComputedStyle","currentStyle","css","style"],"testling":{"files":"test/*.js","scripts":["dist/computedStyle.js"],"harness":"mocha","browsers":["ie/6..latest","chrome/20..latest","chrome/canary","firefox/10..latest","firefox/nightly","safari/latest","opera/11.0..latest","opera/next","iphone/6","ipad/6"]},"gitHead":"311bec14454f5ed5f79405812626659adf76a528","_id":"computed-style@0.3.0","_shasum":"399bf456b89b94aae028e14772878a9b54632338","_from":".","_npmVersion":"2.1.12","_nodeVersion":"0.10.33","_npmUser":{"name":"anonymous","email":"todd@twolfson.com"},"maintainers":[{"name":"anonymous","email":"todd@twolfson.com"}],"dist":{"shasum":"399bf456b89b94aae028e14772878a9b54632338","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/computed-style/-/computed-style-0.3.0.tgz","integrity":"sha512-PQw1pmycCyTJcjrVWUDqMO/o6QIIKLKZ+qFAfaa1U2plQIs+stGDso1b/OeK9EuhWoOUdBSrr/nIua9hUq1HiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICzMsgpdkk7R5KZeOMRRgt4qb/BTK1u2pEU1RrvJXe5aAiB84yACWkqvduHqgyJhlTOdwZFJ1RUt0sn/5zUwfLByVw=="}]}}},"name":"computed-style","time":{"modified":"2022-06-13T20:33:30.312Z","created":"2013-04-12T06:22:32.881Z","0.1.0":"2013-04-12T06:22:34.469Z","0.1.1":"2013-04-12T07:35:55.724Z","0.1.2":"2013-06-19T03:29:22.715Z","0.1.3":"2013-06-19T03:33:38.241Z","0.1.4":"2014-12-08T01:31:35.478Z","0.2.0":"2014-12-17T03:37:03.959Z","0.3.0":"2014-12-17T03:45:00.366Z"},"readmeFilename":"README.md","homepage":"https://github.com/twolfson/computedStyle"}