Need advice about which tool to choose?Ask the StackShare community!

Modernizr

27.4K
2K
+ 1
0
UglifyJS

510
40
+ 1
0
Add tool

Modernizr vs UglifyJS: What are the differences?

Modernizr: Respond to your user’s browser features. It’s a collection of superfast tests or detects as we like to call them which run as your web page loads, then you can use the results to tailor the experience to the user. It tells you what HTML, CSS and JavaScript features the user’s browser has to offer; UglifyJS: JavaScript parser / mangler / compressor / beautifier library for NodeJS. This package implements a general-purpose JavaScript parser/compressor/beautifier toolkit. It is developed on NodeJS, but it should work on any JavaScript platform supporting the CommonJS module system (and if your platform of choice doesn’t support CommonJS, you can easily implement it, or discard the exports.* lines from UglifyJS sources).

Modernizr can be classified as a tool in the "JavaScript Compilers" category, while UglifyJS is grouped under "Javascript Utilities & Libraries".

Modernizr and UglifyJS are both open source tools. It seems that Modernizr with 23.8K GitHub stars and 3.04K forks on GitHub has more adoption than UglifyJS with 8.12K GitHub stars and 762 GitHub forks.

bitHOUSEweb S.r.l., Atbox, and Glitch are some of the popular companies that use UglifyJS, whereas Modernizr is used by OneWire, GlobeBetting, and Actimore. UglifyJS has a broader approval, being mentioned in 11 company stacks & 43 developers stacks; compared to Modernizr, which is listed in 28 company stacks and 11 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Modernizr
Pros of UglifyJS
    Be the first to leave a pro
    • 0
      Great for javascript minification

    Sign up to add or upvote prosMake informed product decisions

    What is Modernizr?

    It’s a collection of superfast tests or detects as we like to call them which run as your web page loads, then you can use the results to tailor the experience to the user. It tells you what HTML, CSS and JavaScript features the user’s browser has to offer.

    What is UglifyJS?

    This package implements a general-purpose JavaScript parser/compressor/beautifier toolkit. It is developed on NodeJS, but it should work on any JavaScript platform supporting the CommonJS module system (and if your platform of choice doesn’t support CommonJS, you can easily implement it, or discard the exports.* lines from UglifyJS sources).

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Modernizr?
    What companies use UglifyJS?
    See which teams inside your own company are using Modernizr or UglifyJS.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Modernizr?
    What tools integrate with UglifyJS?

    Blog Posts

    JavaScriptGitGitHub+33
    20
    2092
    What are some alternatives to Modernizr and UglifyJS?
    Babel
    Babel will turn your ES6+ code into ES5 friendly code, so you can start using it right now without waiting for browser support.
    Bootstrap
    Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.
    jQuery
    jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.
    JavaScript
    JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
    Git
    Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
    See all alternatives