No description, website, or topics provided.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

pirateship

Sail in the dark waters of the PirateBay. Pirateship will automatically select the best proxy or use direct connection if possible.

Install

npm install pirateship

How to use

var pirateship = require('pirateship');

pirateship.top(pirateship.categories.video.hdmovies, function(results) {
    console.log(results);
}, function(error) {
    console.error(error);
});

pirateship.search(pirateship.categories.application.unix, 'ubuntu', function(results) {
    console.log(results);
}, function(error) {
    console.error(error);
});