# get-abs-path

> Get absolute path of file names

Latest version **1.1.0** (published 2018-03-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install get-abs-path
pnpm add get-abs-path
yarn add get-abs-path
bun add get-abs-path
```

## 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.1.0 |
| Published | 2018-03-26 |
| First published | 2018-03-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Emmanuel Owosekun |
| Maintainers | balou9 |
| Keywords | absolute, path |

## Links

- npm: https://www.npmjs.com/package/get-abs-path
- Repository: https://github.com/Balou9/get-abs-path
- Homepage: https://github.com/Balou9/get-abs-path#readme
- Issues: https://github.com/Balou9/get-abs-path/issues
- npm.io page: https://npm.io/package/get-abs-path

## Dependencies (3)

- [tape](https://npm.io/package/tape.md) ^4.9.0
- [switch-slash](https://npm.io/package/switch-slash.md) ^1.0.0
- [slash-detector](https://npm.io/package/slash-detector.md) ^1.0.3

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.1.0 (latest) — 2018-03-26
- 1.0.2 — 2018-03-04
- 1.0.1 — 2018-03-04

## README

# get-abs-path

[![build status](http://img.shields.io/travis/Balou9/get-abs-path.svg?style=flat)](http://travis-ci.org/Balou9/get-abs-path) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/Balou9/get-abs-path?branch=master&svg=true)](https://ci.appveyor.com/project/Balou9/get-abs-path)

Get absolute path for file names in specified directory

***

## Get it!

```
npm install --save get-abs-path
```

***

## Usage

``` js

var fs = require('fs')
var getAbsPath = require('get-abs-path')
var dir = 'C:/Users/' || process.cwd()

fs.readdir(dir, function (err, data) {
  if (err) throw err
  console.log(getAbsPath(dir, data))
})
```
***

## API

### `getAbsPath(dir, arr)`

***

## License

[MIT](./license.md)

***

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