{"name":"css-vendor","description":"CSS vendor prefix detection and property feature testing.","version":"0.3.1","author":{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/jsstyles/css-vendor.git"},"keywords":["css","vendor","feature","test","prefix"],"engines":{},"scripts":{"all":"npm run lint && npm run build","test":"opener ./test/index.html","build":"npm run clean && npm run build:lib && npm run build:max && npm run build:min","clean":"rimraf ./lib/*","build:lib":"babel src --out-dir lib","build:max":"NODE_ENV=development webpack src/index.js dist/css-vendor.js","build:min":"NODE_ENV=production webpack src/index.js dist/css-vendor.min.js","lint":"eslint ./src","prepublish":"npm run all && git push --tags"},"license":"MIT","main":"./lib/index","devDependencies":{"babel":"^5.6.14","babel-core":"^5.6.20","babel-eslint":"^3.1.23","babel-loader":"^5.3.1","eslint":"^0.24.1","eslint-config-airbnb":"^0.0.6","eslint-config-jss":"^0.1.0","eslint-plugin-react":"^2.7.0","jss":">= 3.0.0 < 4.0.0","opener":"^1.4.1","qunitjs":"1.15.0","rimraf":"^2.4.3","webpack":"^1.11.0"},"gitHead":"0b5ac0e7a86f430bb07a95de8a2fb3da2c348841","bugs":{"url":"https://github.com/jsstyles/css-vendor/issues"},"homepage":"https://github.com/jsstyles/css-vendor#readme","_id":"css-vendor@0.3.1","_shasum":"37a7384553ff312a0dbe6d15c1fc8f6040a70928","_from":".","_npmVersion":"2.13.0","_nodeVersion":"2.4.0","_npmUser":{"name":"kof","email":"oleg008@gmail.com"},"maintainers":[{"name":"kof","email":"oleg008@gmail.com"}],"dist":{"shasum":"37a7384553ff312a0dbe6d15c1fc8f6040a70928","tarball":"http://registry-npm.ywwl.com/css-vendor/download/css-vendor-0.3.1.tgz","integrity":"sha512-2sq0K1DWhPbQdq0jMvW0b8WmhWYis39r45hXpfnuEYwCdv1Oek6LcE6K/vD8Lg/PvRaHx/BvF7YVjbPhzJx+pg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGGOfo2SAxxmhsYXzocTOpQVRgsdWcCn/32VA3JnON8nAiADDNbsO0qgYaHy4TuXbur7v6tKzXhQkKPfsSi5qvzFhA=="}],"size":5984,"noattachment":false,"key":"/css-vendor/-/css-vendor-0.3.1.tgz"},"directories":{},"readme":"[![Build Status](https://travis-ci.org/cssinjs/css-vendor.svg?branch=master)](https://travis-ci.org/cssinjs/css-vendor) [![Greenkeeper badge](https://badges.greenkeeper.io/cssinjs/css-vendor.svg)](https://greenkeeper.io/)\n\n## CSS vendor prefix detection and property feature testing.\n\n### Vendor prefixes\n\n```javascript\nconsole.log(cssVendor.prefix.js) // e.g. WebkitTransform\n\nconsole.log(cssVendor.prefix.css) // e.g. -webkit-transform\n```\n\n### Property support feature test\n\n`cssVendor.supportedProperty(prop)`\n\nTest if property is supported, returns false if not. Returns string if supported. May add a vendor prefix if needed.\n\n```javascript\nconsole.log(cssVendor.supportedProperty('animation')) // e.g. -webkit-animation\n```\n\n### Value support feature test\n\n`cssVendor.supportedValue(prop, value)`\n\nTest if value is supported, returns false if not. Returns string if supported. May add a vendor prefix if needed.\n\n```javascript\nconsole.log(cssVendor.supportedValue('display', 'flex')) // e.g. -webkit-flex\n```\n\n## Run tests\n\n```bash\nyarn\nyarn test\n```\n\n## License\n\nMIT\n","publish_time":1445453199384,"_cnpm_publish_time":1445453199384,"dist-tags":{"latest":"2.0.8"}}