{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content"},{"label":"Filters","url":"https://skillfed.io/packages/category/text-processing-filters"},{"label":"Pre-processors","url":"https://skillfed.io/packages/category/software-development-pre-processors"}],"enrichment":{"capability":"Minifies JavaScript code by removing unnecessary characters while preserving functionality, available as both a Python library and command-line tool.","skillfed_tags":["minification","build-tool","legacy-js"],"use_cases":["Build pipelines that need to compress JavaScript assets before deployment to reduce file size.","Development tools that process legacy ES5 JavaScript code to optimize distribution.","Automated scripts that strip comments and whitespace from JavaScript files during packaging.","Web applications serving static JavaScript where bandwidth reduction is a priority.","Integration into Python-based build systems that already handle JavaScript as part of a larger workflow."],"what_it_does":"jsmin is a Python library that compresses JavaScript source code by stripping whitespace, comments, and other non-essential characters while preserving code behavior. It works as both a Python function you can call on JavaScript strings and as a standalone command-line tool.\n\nThe package has no external runtime dependencies, making it lightweight to install. However, it explicitly does not support ECMAScript 6 or later syntax\u2014the maintainer has stated no intention to add ES6 compatibility. If you need to minify modern JavaScript, you may need to preprocess your code or use an alternative tool. The library does offer a `quote_chars` parameter for limited workarounds on newer syntax.","worth_installing":"Yes, if you are minifying ES5 JavaScript only. The package is stable, has no vulnerabilities, and works reliably for its stated purpose. No, if you need ES6+ support\u2014the maintainer explicitly will not add it. Consider alternatives if your codebase uses modern JavaScript syntax. The high install friction and dormant maintenance status are acceptable trade-offs for a simple, focused tool with no dependencies, but do not expect active development."},"id":"jsmin","links":{"html":"https://skillfed.io/packages/jsmin","md":"https://skillfed.io/packages/jsmin.md","pypi":"https://pypi.org/project/jsmin/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-01-16","license_spdx":null,"license_treatment":"permissive","name":"jsmin","python_support":"unspecified","summary":"JavaScript minifier."},"popularity":{"monthly_downloads":1232124,"position":4185,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.0.1"}
