Newton's Preposterous Miscalculation

    esbuild-node-loader

    0.8.0 • Public • Published

    esbuild-node-loader

    NPM version

    Transpile TypeScript to ESM with Node.js loader hooks on the fly.

    Inspired by esbuild-register but for Node.js ESM instead of CJS.

    Features

    • Supports .ts, .tsx and .json
    • Support extension also resolving (can import modules without extension)

    Usage

    npm i esbuild-node-loader -D
    node --experimental-loader esbuild-node-loader file.ts

    Or use with esmo:

    npx esmo file.ts

    Sponsors

    License

    MIT License © 2021 Anthony Fu

    Keywords

    Install

    npm i esbuild-node-loader

    DownloadsWeekly Downloads

    15,153

    Version

    0.8.0

    License

    MIT

    Unpacked Size

    9.33 kB

    Total Files

    4

    Last publish

    Collaborators

    • antfu