Socket
Socket
Sign inDemoInstall

babel-html

Package Overview
Dependencies
244
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    babel-html

Compile JS embedded in HTML with babel


Version published
Weekly downloads
12
increased by200%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

babel-html

Usage: babel-html -s <src-dir> -d <dest-dir>

Options:
  -s, --src-dir     Source directory                         [string] [required]
  -d, --dest-dir    Destination directory                    [string] [required]
  -D, --copy-files  Copy non-compilable files                          [boolean]
  -w, --watch       Watch mode                                         [boolean]
  -m, --minify      Minify HTML, CSS nad JS                            [boolean]
  -q, --quiet       Disable logging                                    [boolean]
  -h, --help        Show help                                          [boolean]

This will compile all scripts (embedded in html or regular js files) in src-dir and save the results to dest-dir

Keywords

FAQs

Last updated on 28 May 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc