Get the project path of your NodeJS application from anywhere
Please ★ this repo if you found it useful ★ ★ ★
- Works from any directory
npm install --save proj-path
Let's assume your project is located at /home/jamrizzi/Projects/my-project
import projPath from 'proj-path';
console.log(projPath());
// /home/jamrizzi/Projects/my-project
Submit an issue
A ridiculous amount of coffee was consumed in the process of building this project.
Add some fuel if you'd like to keep me going!
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Jam Risser © 2017
- Jam Risser - Author
0.0.1 (2017-06-21)
- Initial release