# appcd-path

> Library for working with paths.

Latest version **2.0.8** (published 2021-04-26) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install appcd-path
pnpm add appcd-path
yarn add appcd-path
bun add appcd-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 | 2.0.8 |
| Published | 2021-04-26 |
| First published | 2017-09-01 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10.13.0 |
| Dependencies | 1 |
| Unpacked size | 12.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Axway, Inc. |
| Maintainers | cb1kenobi, appcelerator, awam |

## Links

- npm: https://www.npmjs.com/package/appcd-path
- Repository: https://github.com/appcelerator/appc-daemon.git#master
- Homepage: https://github.com/appcelerator/appc-daemon
- Issues: https://github.com/appcelerator/appc-daemon/issues
- npm.io page: https://npm.io/package/appcd-path

## Dependencies (1)

- [source-map-support](https://npm.io/package/source-map-support.md) ^0.5.19

## Recent versions

- 2.0.8 (latest) — 2021-04-26
- 2.0.7 — 2021-04-15
- 2.0.6 — 2021-03-03
- 2.0.5 — 2021-01-26
- 2.0.4 — 2021-01-22
- 2.0.3 — 2021-01-05
- 2.0.2 — 2020-12-01
- 2.0.1 — 2020-06-12
- 2.0.0 — 2020-05-05
- 1.1.10 — 2020-01-14
- 1.1.9 — 2020-01-08
- 1.1.8 — 2019-11-06
- 1.1.7 — 2019-08-13
- 1.1.6 — 2019-06-04
- 1.1.5 — 2019-03-29
- … 40 more at https://npm.io/package/appcd-path/versions

## README

# appcd-path

Library for working with paths.

Visit https://github.com/appcelerator/appc-daemon for more information.

Report issues to [GitHub issues][2]. Official issue tracker in [JIRA][3].

## Installation

	npm i appcd-path

## Usage

```js
import { expandPath } from 'appcd-path';

// replace ~ with the user's home path and join any additional segments
console.log(expandPath('~/foo', 'bar'));
```

```js
import { real } from 'appcd-path';

// resolves symlinks to real path, even if symlink is broken
console.log(real('/some/path'));
```

## Legal

This project is open source under the [Apache Public License v2][1] and is developed by
[Axway, Inc](http://www.axway.com/) and the community. Please read the [`LICENSE`][1] file included
in this distribution for more information.

[1]: https://github.com/appcelerator/appc-daemon/blob/master/packages/appcd-path/LICENSE
[2]: https://github.com/appcelerator/appc-daemon/issues
[3]: https://jira.appcelerator.org/projects/DAEMON/issues

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