/current-dir

Returns the full path to the current directory.

Primary LanguageJavaScriptMIT LicenseMIT

current-dir Build Status npm version

Returns the full path to the current directory.

Install

$ npm install --save current-dir

Usage

var currentDir = require('current-dir');
currentDir();
// => /Users/username/

API

currentDir()

Returns the path to the current directory.

License

MIT © Emil Johansson