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

bob-tsm

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bob-tsm

[![npm](https://img.shields.io/npm/v/bob-tsm)](https://npm.im/bob-tsm)

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
592
decreased by-32.5%
Maintainers
1
Weekly downloads
 
Created
Source

bob-tsm

npm

Package inspired on https://github.com/lukeed/tsm with extra features and support for watch mode and with extra fixes to follow the new TypeScript 4.5 extensions .mts=>ESM and .cts=>CommonJS.

Install

pnpm add -D bob-tsm esbuild
yarn add -D bob-tsm esbuild
npm install -D bob-tsm esbuild

Usage

All the arguments that are not part of bob-tsm are passed directly to the node executable.

Usage: bob-tsm [options] [node arguments...]

Options:
  -V, --version                     output the version number
  --tsmconfig <config>              Configuration file path (default: "tsm.js")
  --watch <patterns...>             Enable & specify watch mode
  --ignore <patterns...>            Ignore watch patterns
  --node-env,--node_env <NODE_ENV>  Automatically add the specified option as NODE_ENV environment variable, "prod" is an alias
                                    for "production" and "dev" is an alias for "development" (choices: "production", "prod",
                                    "development", "dev", "test")
  -q, --quiet
  --cjs                             Use CommonJS instead of ESM for ".ts" files. You still can use ".mts" to force ESM in
                                    specific typescript files.
  --paths                           Use tsconfig paths resolver. It only works as a fallback of the default path resolving and
                                    you can use the environment variable TS_NODE_PROJECT to customize the tsconfig.json to use.
  -h, --help                        display help for command

FAQs

Package last updated on 23 Aug 2022

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