https://github.com/lupcode/node-lup-root
Node module determines path to project root
https://github.com/lupcode/node-lup-root
Last synced: 3 months ago
JSON representation
Node module determines path to project root
- Host: GitHub
- URL: https://github.com/lupcode/node-lup-root
- Owner: LupCode
- License: mit
- Created: 2021-08-04T20:44:06.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-01T14:04:17.000Z (almost 2 years ago)
- Last Synced: 2025-02-16T07:17:37.608Z (3 months ago)
- Language: TypeScript
- Size: 3.85 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README



# lup-root
Node module that determines absolute path to project root and main file of project## Example
```javascript
const {ROOT, MAIN} = require('lup-root');console.log("Root directory: " + ROOT);
console.log("Main file: " + MAIN);
```