Git Product home page Git Product logo

femtopixel / docker-google-closure-compiler-api Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 151 KB

Google closure compiler CLI API Docker Image

Home Page: https://brands.jaymoulin.me/femtopixel/docker-google-closure-compiler-api/

License: MIT License

Python 69.66% Shell 2.68% Makefile 18.78% Dockerfile 8.88%
docker docker-image python python3 google-closure-compiler compiler javascript cli

docker-google-closure-compiler-api's Introduction

latest release

Google Closure Compiler API - Docker Image

latest release

PyPI version

image

image

PayPal donation

Buy me a coffee

Buy me a coffee

DISCLAIMER: As-of 2021, this product does not have a free support team anymore. If you want this product to be maintained, please support.

(This product is available under a free and permissive license, but needs financial support to sustain its continued improvements. In addition to maintenance and stability there are many desirable features yet to be added.)

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

docker-google-closure-compiler-api's People

Contributors

jaymoulin avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

docker-google-closure-compiler-api's Issues

APP Readme

I would be helpful to have a readme for APP as well

Consider autoupdating

this project is dependent from other. consider an autoupdate system to avoid to maintain it

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.