pirateship

Sail in the dark waters of the PirateBay.

Usage no npm install needed!

<script type="module">
  import pirateship from 'https://cdn.skypack.dev/pirateship';
</script>

README

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);
});