detecting css feature prefixes:
Modernizr.prefixed('boxSizing') // 'boxSizing'
detecting dom feature prefixes:
Modernizr.prefixed('requestAnimationFrame', window) // fn
mq() media query testing:
Modernizr.mq('only screen and (max-width: 768px)') // true
testProp():
Modernizr.testProp('pointerEvents') // true
testAllProps():
Modernizr.testAllProps('boxSizing') // true
hasEvent():
Modernizr.hasEvent('gesturestart') // true
see more: modernizr docs