Skip to main content

Google Closure Compiler API - Docker Image

latest release PyPI version https://img.shields.io/docker/pulls/femtopixel/google-closure-compiler.svg https://img.shields.io/docker/stars/femtopixel/google-closure-compiler.svg https://img.shields.io/docker/pulls/femtopixel/google-closure-compiler-app.svg https://img.shields.io/docker/stars/femtopixel/google-closure-compiler-app.svg Bitcoin donation Litecoin donation PayPal donation Beerpay donation

This image allows you to Compile your JS code using Google Closure Compiler API in CLI

Install

pip3 install google_closure_compiler_api

Usage

usage: compiler.py [-h] [--js JS] [--js_output_file JS_OUTPUT_FILE] [--compilation_level {WHITESPACE_ONLY,SIMPLE_OPTIMIZATIONS,ADVANCED_OPTIMIZATIONS}]

optional arguments:
  -h, --help            show this help message and exit
  --js JS               Input file
  --js_output_file JS_OUTPUT_FILE
                        Output file
  --compilation_level {WHITESPACE_ONLY,SIMPLE_OPTIMIZATIONS,ADVANCED_OPTIMIZATIONS}
                        Compilation level

Default values

  • –js : /dev/stdin (input your code)

  • –js_output_file : /dev/stdout (Prints compiled code in the shell)

  • –compilation_level : WHITESPACE_ONLY

Docker usage

docker run --rm -ti -v /path/to/my/file.js:/root/myfile.js femtopixel/google-closure-compiler --js /root/myfile.js

Metadata

Release files for google-closure-compiler-api 0.1.5

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

Source distribution (sdist)

Source distribution for google-closure-compiler-api 0.1.5
File Size Uploaded Provenance Actions
google_closure_compiler_api-0.1.5.tar.gz 3.0 kB Without provenance Details for google_closure_compiler_api-0.1.5.tar.gz

Release files / google_closure_compiler_api-0.1.5.tar.gz

Download URL google_closure_compiler_api-0.1.5.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
abdf764b2a10a9693cbcc3ae6235ffd65c4b748186d33ceeb66d7e74931e1954
BLAKE2b-256 checksum
How to use checksums
aa2ceb23911a3774833c46520ad6f62a10b42ce66d716f7b5b96a0b16c617f70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for google-closure-compiler-api 0.1.5

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.5 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