{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/3"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/5"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/3"},{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing"},{"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"}],"enrichment":{"capability":"rjsmin minifies JavaScript code by removing unnecessary characters while preserving functionality, implemented in Python with optional C acceleration for runtime use.","skillfed_tags":["minification","javascript","web-assets"],"use_cases":["Minify JavaScript on-the-fly in web applications serving dynamically generated scripts.","Reduce payload size for JavaScript bundles in build pipelines or asset servers.","Strip comments and whitespace from JavaScript code during template rendering.","Optimize JavaScript responses in APIs or microservices that generate client-side code.","Compress JavaScript in embedded or constrained environments where preprocessing is impractical."],"what_it_does":"rjsmin is a JavaScript minifier written in Python, based on the semantics of Douglas Crockford's jsmin.c. It removes whitespace, comments, and other unnecessary characters from JavaScript code while preserving functionality. The package includes an optional C reimplementation (rjsmin.c) for additional speed. Unlike the original jsmin.c, rjsmin does not perform error detection on malformed input; instead, it treats unterminated strings, regexes, and comments as regular code. It supports modern JavaScript features including template literals (ECMA-6) and optional preservation of comments starting with exclamation marks.\n\nThe package is designed for runtime use rather than as a preprocessing step, making it suitable for dynamic JavaScript generation or on-demand minification. It provides both a direct API and a \"streamy\" interface for handling complete strings. With no runtime dependencies and support for Python 2.7 and 3.6 through 3.14, rjsmin is a lightweight, portable choice for projects needing fast JavaScript compression.","worth_installing":"Yes, if you need runtime JavaScript minification in Python and can tolerate the aging maintenance status. The package is stable (Production/Stable classifier), has no known vulnerabilities, and offers good performance through optional C acceleration. However, consider the 306-day release gap when evaluating long-term support; if you require active maintenance or are starting a new project, evaluate whether a more actively maintained alternative better fits your risk tolerance."},"id":"rjsmin","links":{"html":"https://skillfed.io/packages/rjsmin","md":"https://skillfed.io/packages/rjsmin.md","pypi":"https://pypi.org/project/rjsmin/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-10-12","license_spdx":null,"license_treatment":"permissive","name":"rjsmin","python_support":"unspecified","summary":"Javascript Minifier"},"popularity":{"monthly_downloads":2993182,"position":2796,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.2.5"}
