# is-subtitle

> Check if a filepath is a subtitle file

Latest version **1.0.0** (published 2015-08-02) · MIT license · 0 weekly downloads

## Install

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

## 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.0 |
| Published | 2015-08-02 |
| First published | 2015-08-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Dave Gramlich |
| Maintainers | callmehiphop |
| Keywords | ext, extensions, extension, file, path, check, is, subtitle, subtitles, subs, srt, vtt |

## Links

- npm: https://www.npmjs.com/package/is-subtitle
- Repository: https://github.com/callmehiphop/is-subtitle
- Homepage: https://github.com/callmehiphop/is-subtitle#readme
- Issues: https://github.com/callmehiphop/is-subtitle/issues
- npm.io page: https://npm.io/package/is-subtitle

## Dependencies (1)

- [subtitle-extensions](https://npm.io/package/subtitle-extensions.md) ^1.0.0

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

- 1.0.0 (latest) — 2015-08-02

## README

# is-subtitle

> Check if a filepath is a subtitle file

## Install

```sh
$ npm install --save is-subtitle
```

## Usage

```javascript
var isSubtitle = require('is-subtitle');

isSubtitle('/src/toast.srt');
//=> true

isSubtitle('/src/toast.mp4');
//=> false
```

## Related

* [subtitle-extensions](https://github.com/callmehiphop/subtitle-extensions) - List of subtitle extensions

## License

MIT

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