# is-md

> Check if a file path is a Markdown file

Latest version **3.0.0** (published 2021-05-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-md
pnpm add is-md
yarn add is-md
bun add is-md
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2021-05-04 |
| First published | 2015-01-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | >=12 |
| Dependencies | 1 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 22 |
| Author | Sindre Sorhus |
| Maintainers | sindresorhus |
| Keywords | markdown, md, extensions, extension, file, path, filepath, check, is, detect |

## Links

- npm: https://www.npmjs.com/package/is-md
- Repository: https://github.com/sindresorhus/is-md
- Homepage: https://github.com/sindresorhus/is-md#readme
- Issues: https://github.com/sindresorhus/is-md/issues
- Funding: https://github.com/sponsors/sindresorhus
- npm.io page: https://npm.io/package/is-md

## Dependencies (1)

- [markdown-extensions](https://npm.io/package/markdown-extensions.md) ^1.1.1

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 3.0.0 (latest) — 2021-05-04
- 2.0.0 — 2018-03-22
- 1.0.1 — 2018-03-22
- 1.0.0 — 2015-01-22

## README

# is-md

> Check if a file path is a Markdown file

## Install

```
$ npm install is-md
```

## Usage

```js
import isMarkdownFilePath from 'is-md';

isMarkdownFilePath('source/unicorn.md');
//=> true

isMarkdownFilePath('source/unicorn.png');
//=> false
```

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