Skip to main content

gears-uglifyjs

UglifyJS compressor for Gears. This package already includes the UglifyJS source code for you, so you don’t need to worry about installing it yourself.

Bundled UglifyJS version: 1.3.3

Installation

Install gears-uglifyjs with pip:

$ pip install gears-uglifyjs

Requirements

gears-uglifyjs requires node.js to be installed in your system.

Usage

Add gears_uglifyjs.UglifyJSCompressor to environment’s compressors registry:

from gears_uglifyjs import UglifyJSCompressor
environment.compressors.register('application/javascript', UglifyJSCompressor.as_handler())

If you use Gears in your Django project, add this code to its settings:

GEARS_COMPRESSORS = {
    'application/javascript': 'gears_uglifyjs.UglifyJSCompressor',
}

Metadata

Release files for gears-uglifyjs 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gears-uglifyjs 0.1.1
File Size Uploaded Provenance
gears-uglifyjs-0.1.1.tar.gz 95.7 kB Without provenance Details

Release files / gears-uglifyjs-0.1.1.tar.gz

Download URL gears-uglifyjs-0.1.1.tar.gz
Size 95.7 kB
Tags Source
SHA-256 checksum
How to use checksums
27956878446c3ba9fe3d67157a3c0b8960f6aadce20fec659deeebc1e8ea6fb5
BLAKE2b-256 checksum
How to use checksums
b5c4e93ca73df2a7415f8b0fbfe026f1683e998e3906caf3a866a8111d932f1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for gears-uglifyjs 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page