Feature.js is a fast, simple and lightweight browser feature detection library written with JavaScript.
With this library, it’s simple to build progressively enhanced experiences that use feature detection to determine if a code can be executed in the user’s browser.