# @iyowei/is-tilde-path

> 识别路径是否类似 '~/Development/OpenSource'。

Latest version **1.0.0** (published 2021-12-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @iyowei/is-tilde-path
pnpm add @iyowei/is-tilde-path
yarn add @iyowei/is-tilde-path
bun add @iyowei/is-tilde-path
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2021-12-20 |
| First published | 2021-12-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=12.20.0 |
| Dependencies | 0 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | itonyyo |
| Keywords | iyowei |

## Links

- npm: https://www.npmjs.com/package/@iyowei/is-tilde-path
- Repository: https://github.com/iyowei/is-tilde-path
- Homepage: https://github.com/iyowei/is-tilde-path#readme
- Issues: https://github.com/iyowei/is-tilde-path/issues
- npm.io page: https://npm.io/package/@iyowei/is-tilde-path

## Recent versions

- 1.0.0 (latest) — 2021-12-20

## README

# isTildePath(path)

> 识别路径是否类似 `~/Development/OpenSource`。

## 使用

- `path`，{ String }，路径

```js
import { log } from 'console';
import isTildePath from '@iyowei/is-tilde-path';

log(isTildePath('~/Development/OpenSource`')); // true
log(isTildePath('/Users/iyowei/Development/OpenSource`')); // false
```

## 安装

[![Node Version Badge][node version badge]][download node.js] ![esm][esm]

```shell
# Pnpm
pnpm add @iyowei/is-tilde-path

# yarn
yarn add @iyowei/is-tilde-path

# npm
npm add @iyowei/is-tilde-path
```

## 参与贡献

![PRs Welcome][prs welcome badge]



[esm]: https://img.shields.io/badge/ESM-brightgreen?style=flat
[node version badge]: https://img.shields.io/badge/node.js-%3E%3D12.20.0-brightgreen?style=flat&logo=Node.js
[download node.js]: https://nodejs.org/en/download/
[prs welcome badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat

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