https://github.com/nswbmw/require-prefix
Require file relative to `process.cwd()` or options `root`
https://github.com/nswbmw/require-prefix
Last synced: about 2 months ago
JSON representation
Require file relative to `process.cwd()` or options `root`
- Host: GitHub
- URL: https://github.com/nswbmw/require-prefix
- Owner: nswbmw
- Created: 2015-03-20T07:57:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-20T07:57:59.000Z (over 10 years ago)
- Last Synced: 2025-08-19T17:44:55.985Z (about 2 months ago)
- Language: JavaScript
- Size: 102 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## require-prefix
Require file relative to `process.cwd()` or options `root`.
### Install
```
npm i require-prefix --save
```### Usage
see [test](https://github.com/nswbmw/require-prefix/blob/master/test/test.js).
### Test
```
npm test
```### License
MIT