npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

easytorrents

v1.0.3

Published

Get All the Info you need on torrents easily! Also get their Magnet Links to Stream!

Downloads

13

Readme

npm version npm downloads

What Does it do?

Grabs torrent and all movie info in a simple function! Useful for creating a Streaming Website!

Installation

npm i easytorrents --save

Get a moviedb api key

Example Usage

const easyTorrents = require('easytorrents');

async function getMovie() {
    const movieData = await easyTorrents.search(moviedb_api_key, 'matrix', '1080p');
    console.log(movieData);
}

getMovie();

Sample Response:

{
  movieData: {
    adult: false,
    backdrop_path: '/eNI7PtK6DEYgZmHWP9gQNuff8pv.jpg',
    genre_ids: [ 878, 28, 12 ],
    id: 624860,
    original_language: 'en',
    original_title: 'The Matrix Resurrections',
    overview: "Plagued by strange memories, Neo's life takes an unexpected turn when he finds himself back inside the Matrix.",
    popularity: 3005.201,
    poster_path: '/8c4a8kE7PizaGQQnditMmI1xbRp.jpg',
    release_date: '2021-12-16',
    title: 'The Matrix Resurrections',
    video: false,
    vote_average: 6.9,
    vote_count: 2381
  },
  movieDataExtended: {
    adult: false,
    backdrop_path: '/eNI7PtK6DEYgZmHWP9gQNuff8pv.jpg',
    belongs_to_collection: {
      id: 2344,
      name: 'The Matrix Collection',
      poster_path: '/bV9qTVHTVf0gkW0j7p7M0ILD4pG.jpg',
      backdrop_path: '/bRm2DEgUiYciDw3myHuYFInD7la.jpg'
    },
    budget: 190000000,
    genres: [ [Object], [Object], [Object] ],
    homepage: 'https://www.whatisthematrix.com',
    id: 624860,
    imdb_id: 'tt10838180',
    original_language: 'en',
    original_title: 'The Matrix Resurrections',
    overview: "Plagued by strange memories, Neo's life takes an unexpected turn when he finds himself back inside the Matrix.",
    popularity: 3005.201,
    poster_path: '/8c4a8kE7PizaGQQnditMmI1xbRp.jpg',
    production_companies: [ [Object], [Object], [Object] ],
    production_countries: [ [Object] ],
    release_date: '2021-12-16',
    revenue: 148000000,
    runtime: 148,
    spoken_languages: [ [Object] ],
    status: 'Released',
    tagline: 'Return to the source.',
    title: 'The Matrix Resurrections',
    video: false,
    vote_average: 6.9,
    vote_count: 2400
  },
  magnet_link: 'magnet:?xt=urn:btih:CF109D8D0CFE46BFE7AC5378B587D27B71DD87A8&dn=The%20Matrix%20Resurrections%20(2021)%20%5B1080p%5D%20%5BWEBRip%5D&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.to%3A2920%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=udp%3A%2F%2Ftracker.internetwarriors.net%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.pirateparty.gr%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.cyberia.is%3A6969%2Fannounce',
  full_torrent: {
    provider: 'ThePirateBay',
    id: '55131929',
    title: 'The Matrix Resurrections (2021) [1080p] [WEBRip]',
    time: 'Wed, 22 Dec 2021 13:59:13 GMT',
    seeds: 4915,
    peers: 1406,
    size: '2.9 GB',
    magnet: 'magnet:?xt=urn:btih:CF109D8D0CFE46BFE7AC5378B587D27B71DD87A8&dn=The%20Matrix%20Resurrections%20(2021)%20%5B1080p%5D%20%5BWEBRip%5D&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.to%3A2920%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=udp%3A%2F%2Ftracker.internetwarriors.net%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.pirateparty.gr%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.cyberia.is%3A6969%2Fannounce',
    numFiles: 8,
    status: 'vip',
    category: '207',
    imdb: ''
  }
}

Creator

@RaxoCoding Twitter Youtube