A require replacement and hook to automatically transpiler module source at runtime. Current stable version 0.0.1. This package provides a mechanism to automatically transpile ES6 or other source code during require() calls by replacing or hooking Node.js's module loading. It is designed for development or sandboxed environments where pre-compilation is not desired. Differentiates from Babel/register by being a more generic hook for transpilers. No active development since 2015.
npm install transquireNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to replace require with a transpiling version using transquire.
Use modern alternatives like @babel/register or ts-node for TypeScript.
Write custom type declarations if needed, but consider alternative packages.
Run 'npm install transquire' with the correct registry.
Ensure you imported with 'import transquire from 'transquire'' or use 'const transquire = require('transquire').default'.No dependency data recorded yet.