Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@captainsafia/ratatouille
Advanced tools
ratatouille is a Node.js scrapper for allrecipes.com. It allows you to extract basic information about a recipe, the ingredients required, and the steps involved.
npm install @captainsafia/ratatouille
> import Ratatouille from '@captainsafia/ratatouille';
> const recipe = new Ratatouille('http://allrecipes.com/recipe/254910/kicked-up-mac-cheese');
> recipe.readyInTime
'25 minutes'
> recipe.prepTime
'10 minutes'
> recipe.cookTime
'15 minutes'
> recipe.calories
'830'
> recipe.ingredients
[ { quantity: '14.5',
unit: 'ounce',
preparation: '',
name: 'package macaroni and cheese mix' },
{ quantity: '1/2', unit: 'cup', preparation: '', name: 'milk' },
{ quantity: '1/2',
unit: 'cup',
preparation: 'divided',
name: 'butter' },
{ quantity: '15',
unit: 'ounce',
preparation: 'drained',
name: 'can Libby\'s® Sweet Peas' },
{ quantity: '15',
unit: 'ounce',
preparation: 'drained',
name: 'can Libby\'s® Whole Kernel Sweet Corn' },
{ quantity: '4',
unit: 'ounce',
preparation: 'drained',
name: 'jar diced pimentos' },
{ quantity: '1/2',
unit: 'cups',
preparation: '',
name: 'panko bread crumbs' } ]
FAQs
A Node.js interface to Allrecipes.com
We found that @captainsafia/ratatouille demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.