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

1.4.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

1,129

Version

1.4.0

License

MIT

Unpacked Size

8.21 kB

Total Files

10

Last publish

Collaborators

  • mshima