node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

valid-media-queries

Valid Media Queries

Check for the validity of a CSS media query. Based on the valid-css-props module by chenglou.

npm install valid-media-queries

API

var isValidMediaQuery = require('valid-media-queries');
 
isValidMediaQuery('@media tv and (monochrome), only screen'); // => true 
isValidMediaQuery('@media not thing  and (max-height : 50px)'); // => false 

License

MIT.