# requirein **Repository Path**: mirrors_mikeal/requirein ## Basic Information - **Project Name**: requirein - **Description**: A require() that works in a specified directory. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2026-07-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## `requirein(path, name)` Use node's require function as if the file you're requiring from is in another target directory. ```javascript var requirein = require('requirein') , pwd = process.env.PWD , request = requirein(pwd, 'request') ; ``` Credits to Bradley Meck for figuring this out and writing the [original code](https://gist.github.com/bmeck/0d0b6ad6b394ebb2a3e4).