# babel - pydoc - phpman

> **TLDR:** A transpiler which converts code from JavaScript ES6/ES7 syntax to ES5 syntax.
>
- Transpile a specified input file and output to `stdout`:
  `babel {{path/to/file}}`
- Transpile a specified input file and output to a specific file:
  `babel {{path/to/input_file}} --out-file {{path/to/output_file}}`
- Transpile the input file every time it is changed:
  `babel {{path/to/input_file}} --watch`
- Transpile a whole directory of files:
  `babel {{path/to/input_directory}}`
- Ignore specified comma-separated files in a directory:
  `babel {{path/to/input_directory}} --ignore {{ignored_file1,ignored_file2,...}}`
- Transpile and output as minified JavaScript:
  `babel {{path/to/input_file}} --minified`
- Choose a set of presets for output formatting:
  `babel {{path/to/input_file}} --presets {{preset1,preset2,...}}`
- Display help:
  `babel --help`

*Source: tldr-pages*

---

Help on package babel:

## NAME
    babel

## DESCRIPTION
    babel
    ~~~~~

    Integrated collection of utilities that assist in internationalizing and
    localizing applications.

    This package is basically composed of two major parts:

     * tools to build and work with ``gettext`` message catalogs
     * a Python interface to the CLDR (Common Locale Data Repository), providing
       access to various locale display names, localized number and date
       formatting, etc.

    :copyright: (c) 2013-2019 by the Babel Team.
    :license: BSD, see LICENSE for more details.

## PACKAGE CONTENTS
    _compat
    core
    dates
    languages
    lists
    localedata
    localtime (package)
    messages (package)
    numbers
    plural
    support
    units
    util

## VERSION
    2.8.0

## FILE
    /usr/lib/python3/dist-packages/babel/__init__.py


