npm: package manager

    @alcalzone/esbuild-register

    2.5.1-1 • Public • Published

    esbuild-register

    npm version npm downloads

    Install

    npm i esbuild-register -D
    # Or Yarn
    yarn add esbuild-register --dev

    Usage

    node -r esbuild-register file.ts

    It will use jsxFactory, jsxFragmentFactory and target options from your tsconfig.json

    When using Yarn, you can add an npm script:

    "ts": "node -r esbuild-register"

    to shorten the command, now just run yarn ts file.ts instead.

    Programmatic Usage

    const { register } = require('esbuild-register/dist/node')
    
    register({
      // ...options
    })

    License

    MIT © EGOIST w

    Keywords

    none

    Install

    npm i @alcalzone/esbuild-register

    DownloadsWeekly Downloads

    11,285

    Version

    2.5.1-1

    License

    MIT

    Unpacked Size

    106 kB

    Total Files

    8

    Last publish

    Collaborators

    • alcalzone