Nourishing Pizza Microservice

    is-minified-code

    2.0.0 • Public • Published

    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

    <script src="https://cdn.jsdelivr.net/npm/is-minified-code@1.1.0"></script>

    Usage

    const isMinified = require('is-minified-code'); // or window.isMinified
     
    isMinified('/* code */'); // => true/false

    License

    Copyright (c) 2017 Martin Kolárik. Released under the MIT license.

    Install

    npm i is-minified-code

    DownloadsWeekly Downloads

    207

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    585 kB

    Total Files

    8

    Last publish

    Collaborators

    • martin-kolarik