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

@iryu54/recipe-scraper

v1.0.0

Published

``` npm i @iryu54/recipe-scraper```

Downloads

3

Readme

Recipe scraper

Install

npm i @iryu54/recipe-scraper

Usage

  const rs = require('@iryu54/recipe-scraper')
  const recipe = await rs.getRecipeFromURL('https://www.marmiton.org/recettes/recette_clafoutis-aux-cerises-express_17365.aspx')
  /**
   * {
      name: 'Clafoutis aux cerises express',
      img: 'https://assets.afcdn.com/recipe/20180126/77154_w420h344c1cx2808cy1872cxt0cyt0cxb5616cyb3744.jpg',
      nbPerson: 8,
      time: '55 min',
      ingredients:  [
        { quantity: '700', name: 'g de cerise' },
        { quantity: '2', name: 'oeufs' },
        { quantity: '5', name: 'cuillères de farine' },
        { quantity: '5', name: 'cuillères de sucre roux' },
        { quantity: '1/4', name: 'l de lait' },
        { quantity: '60', name: 'g de beurre' },
        { quantity: '1', name: 'pincée de sel' },
        { quantity: '1', name: 'cuillère à café d\'extrait de vanille' },
        { quantity: '1', name: 'sachet de sucre vanillé' }
      ],
      preparation: '<h3>Etape 1</h3>\n<p>Lavez et équeutez les cerises.</p>\n<h3>Etape 2</h3>\n<p>Allumez votre four à thermostat 6/7 (180/200°C). \nDans un plat à tarte, mettez le beurre puis enfournez-le.</p>\n<h3>Etape 3</h3>\n<p>Battez les oeufs en omelette, ajoutez la pincée de sel ainsi que le sucre. Mélangez bien (au fouet ou au robot). Ajoutez l\'extrait de vanille, mélangez et jetez la farine en pluie. Mélangez bien jusqu\'à obtenir un liquide épais et onctueux.</p>\n<h3>Etape 4</h3>\n<p>Sortez le beure fondu du four, ajoutez-le au liquide puis ajoutez le lait tout en remuant. Une fois mélangé, ajoutez les cerises à la préparation.</p>\n<h3>Etape 5</h3>\n<p>Avec un essuie-tout, étalez le beurre resté dans le plat pour le graisser, puis ajoutez la préparation. Ajoutez quelques noisettes de beurre par dessus.</p>\n<h3>Etape 6</h3>\n<p>Enfournez 45 mn (jusqu\'à ce que le dessus commence à bien dorer). Dès la sortie du four, saupoudrez de sucre vanillé.</p>\n<h3>Etape 7</h3>\n<p>Servez tiède.</p>' 
    }
   */