DOKK / manpages / debian 11 / node-babel7 / babeljs-node.1.en
BABEL-NODE.JS(1) User Commands BABEL-NODE.JS(1)

babel-node.js - CLI that works exactly the same as the Node.js CLI, with the added benefit of compiling with Babel presets and plugins before running it

babel-node [options] [ -e script | script.js ] [arguments]

Evaluate script
Specify whether or not to use .babelrc and .babelignore files
Require module
Evaluate script and print result
A comma-separated list of glob patterns to compile
A comma-separated list of glob patterns to skip compiling
List of extensions to hook into [.es6,.js,.es,.jsx,.mjs]
Path to the babel config file to use. Defaults to working directory babel.config.js
The name of the 'env' to use when loading configs and plugins. Defaults to the value of BABEL_ENV, or else NODE_ENV, or else 'development'.
The project-root resolution mode. One of 'root' (the default), 'upward', or 'upward-optional'.

-w, --plugins [string]

-b, --presets [string]

output the version number
display help for command
October 2023 babel-node.js 7.12.12+~cs150.141.84