Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including nyaatorrents with all npm packages installed. Try it out:

var nyaatorrents = require("nyaatorrents")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

nyaatorrents v1.0.4

Interact with NyaaTorrents (, formerly


Search and fetch torrent information from NyaaTorrents.


This is a light abstraction of the search and view functions of NyaaTorrents (, formerly and It can currently search the main site and the sukebei variant.


Available via npm:

$ npm install nyaatorrents

Or via git:

$ git clone git:// node_modules/nyaatorrents


var NT = require("nyaatorrents"),
    nt = new NT("");{term: "rozen maiden"}, function(err, entries) {
  if (err) {
    return console.warn(err);

  entries.forEach(function(entry) {
    nt.get(, function(err, entry) {
      if (err) {
        return console.warn(err);



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



RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free