Skip to content

clayrisser/proj-path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proj-path

Get the project path of your NodeJS application from anywhere

Please ★ this repo if you found it useful ★ ★ ★

Features

  • Works from any directory

Installation

npm install --save proj-path

Dependencies

Usage

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

Support

Submit an issue

Buy Me Coffee

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!

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT License

Jam Risser © 2017

Credits

Changelog

0.0.1 (2017-06-21)

  • Initial release

About

Get the project path of your NodeJS application

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published