# make-globs-absolute

> Map an array of globs to their absolute path equivalent

Latest version **1.0.0** (published 2016-06-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install make-globs-absolute
pnpm add make-globs-absolute
yarn add make-globs-absolute
bun add make-globs-absolute
```

## 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 | 2016-06-30 |
| First published | 2016-06-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | JM Versteeg |
| Maintainers | jmversteeg |

## Links

- npm: https://www.npmjs.com/package/make-globs-absolute
- Repository: https://github.com/jmversteeg/make-globs-absolute
- Homepage: https://github.com/jmversteeg/make-globs-absolute#readme
- Issues: https://github.com/jmversteeg/make-globs-absolute/issues
- npm.io page: https://npm.io/package/make-globs-absolute

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ^4.13.1

## Recent versions

- 1.0.0 (latest) — 2016-06-30
- 0.0.1 — 2016-06-30

## README

# make-globs-absolute [![Build Status](https://travis-ci.org/jmversteeg/make-globs-absolute.svg?branch=master)](https://travis-ci.org/jmversteeg/make-globs-absolute)

> Map an array of globs to their absolute path equivalent


## Install

```
$ npm install --save make-globs-absolute
```


## Usage

```js
var makeGlobsAbsolute = require('make-globs-absolute');

makeGlobsAbsolute(['foo']);
//=> ['/Users/jmversteeg/foo']

makeGlobsAbsolute(['!foo']);
//=> ['!/Users/jmversteeg/foo']

makeGlobsAbsolute(['foo', '!foo/bar'], '/bar');
//=> ['bar/foo', '!bar/foo/bar']
```


## API

### makeGlobsAbsolute(input, wd)

#### input

Type: `string[]`

Array of globs.

#### wd 

Type: `string`

Optional (default: `process.cwd()`)

Working directory

## License

MIT © [JM Versteeg](https://github.com/jmversteeg)

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