Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

esbuild-node-loader

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esbuild-node-loader

Transpile TypeScript to ESM with Node.js loader

latest
Source
npmnpm
Version
0.8.0
Version published
Maintainers
1
Created
Source

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

node-loader

FAQs

Package last updated on 06 Mar 2022

Did you know?

Socket

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