Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

is-torrent

hemanth32MIT1.0.3

Detects if a given file path/buffer is a torrent file.

check, is, torrent

readme

is-torrent Build Status

Detects if a given file path/buffer is a torrent file.

Install

$ npm install --save is-torrent

Usage

var isTorrent = require('is-torrent');

isTorrent('my.torrent'); // true/false

License

MIT © Hemanth.HM