is-minified-code
Check if a piece of JS/CSS code is minified. Tested on the 10k most popular jsDelivr packages.
Installation
$ npm install is-minified-code
or
Usage
const isMinified = ; // or window.isMinified ; // => true/false
License
Copyright (c) 2017 Martin Kolárik. Released under the MIT license.