pirates is a versatile JavaScript library offering a delightful hook into the require() system. It empowers developers to transform source code on the fly before execution. Imagine transpiling ES modules, instrumenting code for coverage, or even implementing custom module loading schemes, all triggered with require(). pirates simplifies these tasks, making it a useful tool for build processes, testing frameworks, and more, effectively extending the capabilities of Node.js's module system with concise, declarative code.