1.0.0 • Published 9 months ago

n-root-path v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

n-root-path

npm MIT License Coverage Status

About

Get the root path of the project, instead of the '__dirname' or process.cwd()

NOTE: typescript supports

Installation

npm install n-root-path

yarn add n-root-path

pnpm add n-root-path

Usage

import rootPath from 'n-root-path'

console.log(rootPath)
1.0.0

9 months ago