Nadie Programa más

    xported

    1.1.1 • Public • Published

    A script to generate a index.[tj]s file that re-exports from other [tj]s files in the folder. The output follows ESMoule syntax rather than CommonJS.

    Install

    npm i -g xported

    Usage

    cd your/working/dir && xported

    The default compiler option is the following: --allowJs --module commonjs --esModuleInterop --moduleResolution node --target ES2019 more options can be added via the -c option.

    e.g.

    xported -c "--experimentalDecorators"

    NB Do not overwrite the existing compiler options.

    Available options:

     -e,--ext                                           '.js' | '.ts', default to '.ts'.
     -c,--compilerOption                                 Extra tsc compilerOption.
    

    Keywords

    none

    Install

    npm i xported

    DownloadsWeekly Downloads

    2

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    4.16 kB

    Total Files

    3

    Last publish

    Collaborators

    • nanomalloc