@node-loaders/esbuildx
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

esbuildx

Run typescript scripts using esbuild and @node-loaders/esbuild

Usage

Using cli:

esbuildx file.ts

Using API (Use cjs for executables, refer to https://github.com/nodejs/modules/issues/152):

#!/usr/bin/env node

module.exports = (async () => {
  const { default: esbuildx } = await import('./esbuildx.js');
  await esbuildx({ executable });
})();

License

MIT

Package Sidebar

Install

npm i @node-loaders/esbuildx

Weekly Downloads

55

Version

2.0.0

License

MIT

Unpacked Size

6.93 kB

Total Files

7

Last publish

Collaborators

  • mshima