Socket
Socket
Sign inDemoInstall

@arnaud-barre/tnode

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arnaud-barre/tnode

Simple node wrapper that runs esbuild on TS files for ESM projects


Version published
Weekly downloads
140
increased by81.82%
Maintainers
1
Weekly downloads
 
Created
Source

tnode npm

Simple node wrapper that runs esbuild on TS files for ESM projects. Requires usage of explicit extensions. esbuild target is set to node 18.

For CJS projects, see @nabla/tnode

Install

npm i -D @arnaud-barre/tnode

Usage in package.json scripts

{
  "scripts": {
    "codegen": "tnode scripts/codegen.ts"
  }
}

JSON imports

A loader is provided to bypassed experimental warning and the need for import assertion. There is no support for named exports.

Credit

preflight.cjs & tnode.cjs is taken from tsx

Keywords

FAQs

Package last updated on 12 Aug 2023

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc