# current-dir

> Returns the full path to the current directory.

Latest version **1.0.0** (published 2015-07-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install current-dir
pnpm add current-dir
yarn add current-dir
bun add current-dir
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-07-07 |
| First published | 2015-07-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Emil Johansson |
| Maintainers | emiljohansson |
| Keywords | directory, current |

## Links

- npm: https://www.npmjs.com/package/current-dir
- npm.io page: https://npm.io/package/current-dir

## Recent versions

- 1.0.0 (latest) — 2015-07-07

## README

# current-dir [![Build Status](https://travis-ci.org/emiljohansson/current-dir.svg?branch=master)](https://travis-ci.org/emiljohansson/current-dir)

> Returns the full path to the current directory.

## Install

```
$ npm install --save current-dir
```

## Usage

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

## API

### currentDir()

Returns the path to the current directory.

## License

MIT © [Emil Johansson](http://emiljohansson.se)

---
_Source: https://npm.io/package/current-dir · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
