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

strike-api

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strike-api

Strike Search API client

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Strike Search API client

This is a simple node.js API client for the Strike Search website (http://getstrike.net)

Quickstart

	var strike = require('strike-api');
	
	strike.info('B425907E5755031BDA4A8D1B6DCCACA97DA14C04').then(function(res) {
        var status = res.statuscode;
        var results = res.torrents;
    
        var result = results[0];
    
        console.log('L:' + result.leeches + ' S:' + result.seeds + ' - ' + result.torrent_title + ' (' + result.size + ')')
    });
    
    strike.search('Slackware').then(function(res) {
    
        var status = res.statuscode;
        var results = res.torrents;
    
        for(var i in results) {
            console.log('L:' + results[i].leeches + ' S:' + results[i].seeds + ' - ' +  results[i].torrent_title + ' (' + results[i].size + ')')
        }
    });
    

Licence

May be freely distributed under the MIT license.

Copyright (c) 2015 zeroware

Keywords

FAQs

Package last updated on 08 Apr 2015

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