FlashDetect
Detects the presence and version of the Shockwave Flash plugin.FlashDetect = require('flash-detect');
console.log(new FlashDetect()); // FlashDetect {installed: true, raw: "Shockwave Flash 15.0 r0", major: 15, minor: 0, revision: -1...}
See more documentation and demo here: http://www.featureblend.com/javascript-flash-detection-library.html