# isabspath

> Return true if path is an absolute pathname. On Unix, that means it begins with a slash, on Windows that it begins with a (back)slash after chopping off a potential drive letter.

Latest version **0.1.0** (published 2013-12-06) · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2013-12-06 |
| First published | 2013-12-06 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.6.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | yuanyan |
| Maintainers | yuanyan |
| Keywords | isabspath, path |

## Links

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

## 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

- 0.1.0 (latest) — 2013-12-06

## README

node-isabspath
==============

Return true if path is an absolute pathname. 
On Unix, that means it begins with a slash, 
on Windows that it begins with a (back)slash after chopping off a potential drive letter.

## Usage

```js
var isabspath = require('isabspath')
isabspath('/root/path/to') // => true
isabspath('C:\\path\\to')  // => true
isabspath('C:/path/to')    // => true
isabspath('.')             // => false
isabspath('./path/to')     // => false
```

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