1.0.0 • Published 9 years ago

project-root-path v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

Project Root Path Module

This module return your project's root path

Installation

$ npm install project-root-path --save

Usage

To simply access the app's root path, use the module as though it were a string:

var path = require('path')
var projectDir = require('project-root-path')
var myModule = require(path.join(projectDir,'lib','my-module.js)')
1.0.0

9 years ago