In its default mode, stylehacks will remove hacks from your CSS file, based on the browsers that you wish to support.
Input
h1{ _color:white;color:rgba(255,255,255,0.5);}
Output
h1{color:rgba(255,255,255,0.5);}
API
stylehacks.detect(node)
Type: function
Returns: boolean
This method will take any PostCSS node, run applicable plugins depending on its type, then will return a boolean depending on whether it found any of the supported hacks. For example, if the decl node found below is passed to the detect function, it will return true. But if the rule node is passed, it will return false instead.