Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@arnaud-barre/tnode

Package Overview
Dependencies
Maintainers
1
Versions
7
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

  • 0.17.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
108
increased by217.65%
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 04 May 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