.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5. .TH BABEL-NODE.JS "1" "December 2021" "babel-node.js 7.16.6+ds1+~cs214.259.181" "User Commands" .SH NAME 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 .SH SYNOPSIS .B babel-node [\fI\,options\/\fR] [ \fI\,-e script | script.js \/\fR] [\fI\,arguments\/\fR] .SH OPTIONS .TP \fB\-e\fR, \fB\-\-eval\fR [script] Evaluate script .TP \fB\-\-no\-babelrc\fR Specify whether or not to use .babelrc and \&.babelignore files .TP \fB\-r\fR, \fB\-\-require\fR [module] Require module .TP \fB\-p\fR, \fB\-\-print\fR [code] Evaluate script and print result .TP \fB\-o\fR, \fB\-\-only\fR [globs] A comma\-separated list of glob patterns to compile .TP \fB\-i\fR, \fB\-\-ignore\fR [globs] A comma\-separated list of glob patterns to skip compiling .TP \fB\-x\fR, \fB\-\-extensions\fR [extensions] List of extensions to hook into [.es6,.js,.es,.jsx,.mjs] .TP \fB\-\-config\-file\fR [path] Path to the babel config file to use. Defaults to working directory babel.config.js .TP \fB\-\-env\-name\fR [name] 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'. .TP \fB\-\-root\-mode\fR [mode] The project\-root resolution mode. One of \&'root' (the default), 'upward', or \&'upward\-optional'. .HP \fB\-w\fR, \fB\-\-plugins\fR [string] .HP \fB\-b\fR, \fB\-\-presets\fR [string] .TP \fB\-V\fR, \fB\-\-version\fR output the version number .TP \fB\-h\fR, \fB\-\-help\fR display help for command