# unwin

> Transform windows absolute paths into UNIX paths.

Latest version **1.0.2** (published 2016-08-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install unwin
pnpm add unwin
yarn add unwin
bun add unwin
```

## 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.2 |
| Published | 2016-08-05 |
| First published | 2015-09-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Michael Olson |
| Maintainers | mwolson |
| Keywords | windows, absolute, paths |

## Links

- npm: https://www.npmjs.com/package/unwin
- Repository: https://github.com/mwolson/node-unwin
- Issues: https://github.com/mwolson/node-unwin/issues
- npm.io page: https://npm.io/package/unwin

## 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.0.2 (latest) — 2016-08-05
- 1.0.1 — 2015-09-09
- 1.0.0 — 2015-09-09

## README

# unwin

Transform windows absolute paths into UNIX paths.

[![NPM](https://nodei.co/npm/unwin.png)](https://nodei.co/npm/unwin/)

## Install

```sh
npm install --save unwin
```

## Examples

On Windows:

```
> require('os').platform()
'win32'
> unwin = require('unwin');
[Function: unwin]
> unwin('c:\\')
'/'
> unwin('\\top\\test\\file1.test.js')
'/top/test/file1.test.js'
```

On Linux:

```
> unwin = require('unwin');
[Function: unwin]
> unwin('c:\\')
'c:\\'
> unwin('\\top\\test\\file1.test.js')
'\\top\\test\\file1.test.js'
```

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