Checks if a given function is deprecated.
$ npm install --save is-deprecated
var isDeprecated = require('is-deprecated');
isDeprecated(func);
//or
isDeprecated(obj, func);
P.S: Do checkout the test cases for a more verbose example.
MIT © Hemanth.HM