Socket
Socket
Sign inDemoInstall

@hyrious/esbuild-dev

Package Overview
Dependencies
24
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @hyrious/esbuild-dev

Build and run your script.ts with esbuild


Version published
Weekly downloads
103
increased by58.46%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

0.10.5

  • feat: Add temp command to print the output directory.
  • feat: Add --node to append node options instead of relying on NODE_OPTIONS env.

Readme

Source

@hyrious/esbuild-dev

Build and run your script.ts, like ts-node or node-dev.

Require Node.js ^14.18 || >=16 to use --enable-source-maps and top-level await.

Features

  • Fast with the help of esbuild, use esbuild-dev to substitute ts-node
    • pros: checkout this repo's actions, npm run build done in 0.30s!
    • cons: you won't get any type checking at all
  • 🐛 Easy to Debug with the help of node's --enable-source-maps
  • No Magic other than esbuild itself. the author refuses to use any require.extensions-like things

Install

npm i -g @hyrious/esbuild-dev esbuild

Note: esbuild is a peer dependency!

Usage

esbuild-dev [--watch] main.ts

Read the docs to learn more.

Develop

The source codes in the project is carefully written in a style that esbuild won't generate interop helpers. Refer esbuild#1831 to learn how.

License

MIT @ hyrious

Keywords

FAQs

Last updated on 08 Dec 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc