A Node.js require hook that allows modules to specify their own transpilers via package.json configuration, inspired by browserify transform system. Version 0.0.2 is in early development with no specific release cadence. It replaces Node's built-in extension hooks with a flexible transpiler pipeline, enabling per-file transpilation options. Bundled with an ES2016 transpiler for convenience. Unlike babel-register or ts-node, it decouples transpiler selection from the main application, letting dependencies declare their own transforms. Lacks active maintenance and usage is minimal.
npm install future-nodeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows minimal usage: require the hook, then run any JS file; transpile configuration optional.
Use babel-register or esm for Node transpilation instead.
Use standard babel-preset-env with babel-register for predictable behavior.
Use patterns like '*.js' not 'src/**/*.js'.
Run 'npm install future-node' in project root.
Use 'require('future-node')' as a bare require, no assignment.Add transpile entry for '*.js' with a babel transform that handles ES module syntax.
No dependency data recorded yet.