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 🙏

© 2026 – Pkg Stats / Ryan Hefner

yarn-clip-scraper

v1.0.1

Published

https://yarn.co/ search clips and download clips

Readme

Status GitHub Issues GitHub Pull Requests License


🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

yarn add yarn-clip-scraper

or

npm i yarn-clip-scraper

🎈 Usage

const Yarn = require('yarn-clip-scraper');

const api = new Yarn()

Search Clips

const results = await api.search('how are you');
console.log(news);
{
  code: 200,
  code_creator: {
    name: 'Omindu_Dissanayaka',
    github: '@OmiduAnjane',
    group: 'Nex Dev Group'
  },
  results: [
    {
      title: 'Ozark (2017) - S03E05 It Came from Michoacán',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/a558260c-8cbd-49ca-9228-787dcdb10d83'
    },
    {
      title: 'Ozark (2017) - S04E05 Ellie',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/f8dd8b26-c10e-4d40-b026-ebdbc2bf407d'
    },
    {
      title: 'Pam & Tommy (2022) - S01E02 I Love You, Tommy',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/a56967b3-ca66-4d99-843a-0bc8501bef32'
    },
    {
      title: "That '70s Show (1998) - S08E08 Good Company",
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/3591854d-3189-4b4d-9bfb-89021f186b48'
    },
    {
      title: "Grey's Anatomy (2005) - S03E04 What I Am",
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/05899f4a-8c74-462e-bc03-df33f571d2cd'
    },
    {
      title: "Grey's Anatomy (2005) - S03E07 Where the Boys Are",
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/fe0a7282-f5df-475e-a3b0-ecb44a789284'
    },
    {
      title: "Grey's Anatomy (2005) - S05E08 These Ties That Bind",
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/b36dfa22-3191-4f81-8a2d-6e2b5440d584'
    },
    {
      title: "Grey's Anatomy (2005) - S06E01 Good Mourning",
      transcript: 'how are you?',
      pageLink: 'https://yarn.co/yarn-clip/3e6e965c-1504-40c6-9415-4d4c25f23468'
    },
    {
      title: "Grey's Anatomy (2005) - S07E19 It's a Long Way Back",
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/62aa9206-6725-4bbd-86e6-b8e893b56e9a'
    },
    {
      title: "Grey's Anatomy (2005) - S08E12 Hope for the Hopeless",
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/c8e920d0-9528-4cca-9a0d-f4af63e58636'
    },
    {
      title: 'The Love Boat (1977) - S01E06 Isaac the Groupie/Mr. Popularity/Help! Murder!',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/2d368bb0-20ea-4188-80a0-3aa896aa6685'
    },
    {
      title: 'Runaways (2017) - S03E09 The Broken Circle',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/751731e3-75ae-497e-b939-2ef8226a4d2a'
    },
    {
      title: 'Succession (2018) - S01E03 Lifeboats',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/31e0adfd-2d43-43c8-9706-3d833ba6b63a'
    },
    {
      title: 'Succession (2018) - S01E05 I Went to Market',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/a1c4a7b9-e5e4-4db3-9cbb-440ba964770c'
    },
    {
      title: 'Star Trek: The Next Generation (1987) - S03E05 The Bonding',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/46c9e5d7-9a8a-44f2-8690-bc3c17eb522c'
    },
    {
      title: 'Star Trek: The Next Generation (1987) - S03E20 Tin Man',
      transcript: 'how are you?',
      pageLink: 'https://yarn.co/yarn-clip/b98d1425-8267-4827-aa2a-784dcc64d30d'
    },
    {
      title: 'Doctor Who (2005) - S05E06 The Vampires of Venice',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/63da1c71-20f4-4b0c-9d89-453e1e6b2c5d'
    },
    {
      title: 'Doctor Who (2005) - S06E12 Closing Time',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/032ad80c-8a92-4178-9cc9-0f3c9a1efe01'
    },
    {
      title: 'Firefly Lane (2021) - S02E01 Wish You Were Here',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/4f3c02a7-4e01-4373-989e-3701edd5da24'
    },
    {
      title: 'Firefly Lane (2021) - S02E01 Wish You Were Here',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/1e1f5f9b-f538-49e9-828a-bc9def3b4b28'
    }
  ]
}

Download Clip

const results = await api.dl('https://yarn.co/yarn-clip/a1c4a7b9-e5e4-4db3-9cbb-440ba964770c');
console.log(results);
{
  code: 200,
  code_creator: {
    name: 'Omindu_Dissanayaka',
    github: '@OmiduAnjane',
    group: 'Nex Dev Group'
  },
  results: {
    Title: 'How are you?',
    Description: 'How are you?',
    Video: 'https://y.yarn.co/a1c4a7b9-e5e4-4db3-9cbb-440ba964770c.mp4'
  }
}

✍️ Authors