A Babel transpiler middleware for the Ethical framework's composer, enabling file transformation as part of a build pipeline. Version 0.0.0 is pre-release, with no stable releases yet. It integrates with the ethical-composer ecosystem to provide Babel transpilation middleware. Differentiators: part of a larger framework with a moral obligation to simplicity and scalability; designed for use with ethical-composer-emitter-watcher and other middlewares. Currently in early development with no published API stability.
npm install ethical-composer-middleware-babelNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up a composer pipeline with Babel middleware to transpile files from /src to /dist.
Consider using modern alternatives like Webpack or Babel standalone.
Lock to specific commit or avoid using in production.
Ensure you compose it with ethical-composer, not used directly.
Install required Babel presets/plugins explicitly in your project.
npm install ethical-utility-babel-directory-transpiler
Use ESM import: import babelMiddleware from 'ethical-composer-middleware-babel'
npm install @babel/preset-env --save-dev