{"maintainers":[{"name":"akiran","email":"kiran.coder0@gmail.com"}],"dist-tags":{"latest":"0.2.0"},"author":{"name":"Kiran Abburi"},"description":"Generate media query string from JSON or javascript object","readme":"# json2mq\n\njson2mq is used to generate media query string from JSON or javascript object.\n\n## Install\n    npm install json2mq\n    \n## Usage\n```javascript\nvar json2mq = require('json2mq');\njson2mq({minWidth: 100, maxWidth: 200});\n// -> '(min-width: 100px) and (max-width: 200px)'\n```\n* Media type \n```javascript\njson2mq({screen: true});  // -> 'screen'\n```\n* Media type with negation \n```javascript\njson2mq({handheld: false});  // -> 'not handheld'\n```\n\n* Media features can be specified in camel case\n```javascript\njson2mq({minWidth: 100, maxWidth: 200});\n// -> '(min-width: 100px) and (max-width: 200px)'\n```\n* px is added to numeric dimension values\n```javascript\njson2mq({minWidth: 100, maxWidth: '20em'});\n// -> '(min-width: 100px) and (max-width: 20em)'\n```\n* Multiple media queries can be passed as an array\n```javascript\njson2mq([{screen: true, minWidth: 100}, {handheld: true, orientation: 'landscape'}]); \n// -> 'screen and (min-width: 100px), handheld and (orientation: landscape)'\n```\n\n\n\n## Contributors\n\n* Eric Schoffstall\n\n","repository":{"type":"git","url":"https://github.com/akiran/json2mq"},"bugs":{"url":"https://github.com/akiran/json2mq/issues"},"license":"MIT","versions":{"0.1.0":{"name":"json2mq","version":"0.1.0","description":"Generate media query string from JSON or javascript object","main":"index.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/akiran/json2mq"},"author":{"name":"Kiran Abburi"},"license":"MIT","bugs":{"url":"https://github.com/akiran/json2mq/issues"},"homepage":"https://github.com/akiran/json2mq","devDependencies":{"mocha":"^2.0.1","should":"^4.3.0"},"dependencies":{"string-convert":"^0.2.0"},"gitHead":"22aa655bbdd96f33d99ac8351d02d83cf8f55e6d","_id":"json2mq@0.1.0","_shasum":"820f49a7cdf88bcada5d12393b82aab27d80543a","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.26","_npmUser":{"name":"akiran","email":"kiran.coder0@gmail.com"},"maintainers":[{"name":"akiran","email":"kiran.coder0@gmail.com"}],"dist":{"shasum":"820f49a7cdf88bcada5d12393b82aab27d80543a","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/json2mq/-/json2mq-0.1.0.tgz"},"directories":{}},"0.2.0":{"name":"json2mq","version":"0.2.0","description":"Generate media query string from JSON or javascript object","main":"index.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/akiran/json2mq"},"author":{"name":"Kiran Abburi"},"license":"MIT","bugs":{"url":"https://github.com/akiran/json2mq/issues"},"homepage":"https://github.com/akiran/json2mq","devDependencies":{"mocha":"^2.0.1","should":"^4.3.0"},"dependencies":{"string-convert":"^0.2.0"},"gitHead":"f7ac824a281a2ea5aeff3f220e8b3b73918822e7","_id":"json2mq@0.2.0","_shasum":"b637bd3ba9eabe122c83e9720483aeb10d2c904a","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.26","_npmUser":{"name":"akiran","email":"kiran.coder0@gmail.com"},"maintainers":[{"name":"akiran","email":"kiran.coder0@gmail.com"}],"dist":{"shasum":"b637bd3ba9eabe122c83e9720483aeb10d2c904a","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/json2mq/-/json2mq-0.2.0.tgz"},"directories":{}}},"name":"json2mq","time":{"modified":"2015-01-15T06:37:41.006Z","created":"2014-11-22T11:18:00.677Z","0.1.0":"2014-11-22T11:18:00.677Z","0.2.0":"2015-01-15T06:37:41.006Z"},"readmeFilename":"README.md","homepage":"https://github.com/akiran/json2mq"}