babel-stdin

2.0.0 • Public • Published

babel-stdin(1) -- apply a .babelrc to babel's stdin

SYNOPSIS

<file> | babel-stdin [--compact] [--highlight-code]

DESCRIPTION

A babel wrapper that applies the nearest .babelrc to code received via stdin.

OPTIONS

--[no-]compact: pass {compact: true} to babel. defaults to `true`
--[no-]highlight-code: pass {highlightCode: true} to babel. defaults to `false`

Dependents (0)

Package Sidebar

Install

npm i babel-stdin

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

4.79 kB

Total Files

6

Last publish

Collaborators

  • hawkrives