Skip to content

Determine the versions of JavaScript libraries by using their built-in functionality, instead of depending on version details found in comments within the JavaScript files.

Notifications You must be signed in to change notification settings

stub1t/Identify-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 

Repository files navigation

Identify-JS

Framework Query References
Angular console.log(document.querySelector('[ng-version]').getAttribute('ng-version'));
AngularJS angular.version https://stackoverflow.com/questions/16017699/how-can-i-check-which-version-of-angular-im-using
Bootstrap $.fn.tooltip.Constructor.VERSION https://getbootstrap.com/docs/4.3/getting-started/javascript/#version-numbers
core-js core.version
window['__core-js_shared__'].versions
zloirock/core-js#616 (comment)
DevExpress DevExpress.VERSION https://supportcenter.devexpress.com/ticket/details/t802668/how-to-know-what-devextreme-devexpress-version-is-in-my-solution
Dropzone Dropzone.version
jQuery jQuery.fn.jquery
jQuery().jquery
$.fn.jquery
$().jquery
$()['jquery']
https://jquery-howto.blogspot.com/2009/02/how-to-check-jquery-version.html
jQuery DataTables $.fn.DataTable.version https://stackoverflow.com/questions/31933241/how-to-check-the-datatable-version-i-am-using
jQuery UI $.ui.version
jQuery.ui.version
https://jquery-howto.blogspot.com/2010/07/how-to-check-loaded-jquery-ui-version.html
jQuery Mobile $.mobile.version
jQuery.mobile.version
https://stackoverflow.com/questions/26037878/get-jquery-mobile-version-programmatically
Lodash _.VERSION https://lodash.com/docs/4.17.15#VERSION
Moment.js moment.version https://github.com/moment/moment/blob/develop/CHANGELOG.md#101
Swagger UI JSON.stringify(versions)
JSON.stringify(versions.swaggerUi.version)
https://swagger.io/docs/open-source-tools/swagger-ui/usage/version-detection/
Underscore.js _.VERSION https://underscorejs.org/docs/modules/underscore.html

About

Determine the versions of JavaScript libraries by using their built-in functionality, instead of depending on version details found in comments within the JavaScript files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published