New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-kickass-json

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-kickass-json

Query for torrents at Kickass.to with Node.js.

  • 0.1.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

node-kickass-json NPM version Build Status

NPM

Query for torrents at Kickass.to with Node.js.

Installation

Add node-kickass-json to your existing Node.js project.

npm install node-kickass-json --save

Usage

See examples for more usage details.

Built as a Fluent Interface. Also known as method chaining, as used in jQuery. Fork of node-kickass by @Glavin001

var Kickass = require('node-kickass-json');

var k = new Kickass()
.setQuery('Almost Human')   // Set search Query parameter
.run(function(error, data) {
  /*
  this  {context} => Current Context is set to be `k`.
  error  {error} => An Error object representing the error encountered
  data    {array} => An array of Torrent.
  */
  if (error === null) {
    // No errors occured.
    console.log(data.length, "results");
    console.log(
      errors,     // Error object, will be null if no error
      data       // Array of Torrent read from this `run`.
      );
  } else {
    // An error occurred.
    console.log(error, "error");
  }
})

Functions

  • constructor
var k = new Kickass()
  • setQuery
k.setQuery("Search Name")
  • setSort
k.setSort({
  field: "seeders",
  sorder: "desc"
});
  • run
k.run(function(error, data) {
            //console.log(data);
            if (error === null && data !== null) {
                    done();
            }
        });

Disclaimer

There are obvious legal issues, with downloading copyrighted material you do not have a license for. We do not endorse such use cases and take no responsibility for the use people make of it.

Keywords

FAQs

Package last updated on 21 Apr 2014

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