Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bittorrent-created-by

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bittorrent-created-by

Parse bittorrent "created by" strings into objects or die trying!

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

bittorrent-created-by build status

Parse bittorrent "created by" strings into objects or die trying!

Overview

bittorrent-created-by tries really hard to parse the ugly and often confusing "created by" fields from torrent files. The definitions it uses were built by analysing a very large collection of torrent files found in the wild.

Super Quickstart

Code:

var parseCreatedBy = require("bittorrent-created-by");

var createdBy = parseCreatedBy("uTorrent/2210");

console.log(JSON.stringify(createdBy));

Output:

{"client":"uTorrent","version":"2210"}

Installation

Available via npm:

$ npm install bittorrent-created-by

Or via git:

$ git clone git://github.com/deoxxa/bittorrent-created-by.git node_modules/bittorrent-created-by

API

parseCreatedBy

This is the only thing exposed by this module.

parseCreatedBy(string);
var createdBy = parseCreatedBy("uTorrent/2210");

License

3-clause BSD. A copy is included with the source.

Contact

Keywords

FAQs

Package last updated on 13 Sep 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc