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

tech-news-scraper

v1.0.2

Published

The Simple Tech News Scraper By Mr Nima

Downloads

4,090

Readme

👨‍💻 Author : MR NIMA

✅ Install package
yarn add tech-news-scraper
ℹ️ Require Package
const nima = require("tech-news-scraper")
ℹ️ Example Get All News
const news = await nima.allNews()
console.log(news)
🔍 Result All News
{
  creator: 'MR NIMA',
  status: true,
  result: [
    {
      no: 1,
      title: 'Amazfit Pop 3R Smartwatch With 1.43-Inch AMOLED Display, Bluetooth Calling Launched in India',      date: ' 26 June 2023',
      catname: 'Wearables',
      img: 'https://i.gadgets360cdn.com/large/amazfit_pop_3r_smartwatch_thumb_1687777139176.jpg',                 link: 'https://www.gadgets360.com/wearables/news/amazfit-pop-3r-smartwatch-price-in-india-rs-3499-launch-sale-date-june-29-specifications-features-4153680'     },
    {
      no: 2,
      title: 'Google Parent Alphabet, Airtel Bet on Laser Technology to Deliver Internet Service in Remote Areas',
      date: ' 26 June 2023',
      catname: 'Internet',
      img: 'https://i.gadgets360cdn.com/large/google_reuters_thumb_1680153631910.jpg',
      link: 'https://www.gadgets360.com/internet/news/google-alphabet-internet-access-bharti-airtel-remote-areas-laser-beam-taara-4153831'
    },
    {
      no: 3,
      title: 'Samsung SeeColors Accessibility Mode for Colour Blind Users Added to 2023 TV and Monitor Lineup: Details',
      date: ' 26 June 2023',
      catname: 'Home Entertainment',
      img: 'https://i.gadgets360cdn.com/large/seecolors_accessibility_colour_blindness_samsung_thumb_1687779004907.jpg',
      link: 'https://www.gadgets360.com/tv/news/samsung-seecolors-mode-tv-monitor-colour-blind-users-accessibility-feature-4153497'
    },
    {
      no: 4,
      title: 'Nothing Phone 2 Pre-Orders to Start in India on June 29 Via Flipkart: All Details',
      date: ' 26 June 2023',
      catname: 'Mobiles',
      img: 'https://www.gadgets360.com/static/icons/img_120n.png',
      link: 'https://www.gadgets360.com/mobiles/news/nothing-phone-2-india-pre-order-june-29-launch-july-11-flipkart-carl-pei-4153594'
    },
    {
      no: 5,
      title: 'Oppo, OnePlus or Realme Could Offer Smartphones With Up to 24GB RAM Soon: All Details',
      date: ' 26 June 2023',
      catname: 'Mobiles',
      img: 'https://www.gadgets360.com/static/icons/img_120n.png',
      link: 'https://www.gadgets360.com/mobiles/news/oneplus-oppo-realme-24gb-ram-smartphone-launch-details-leak-4153535'
    },
    {
      no: 6,
      title: 'Cybercriminals Send Bomb Threats to US Retail Stores, Demand Bitcoin Payments: Report',
      date: ' 26 June 2023',
      catname: 'Cryptocurrency',
      img: 'https://www.gadgets360.com/static/icons/img_120n.png',
      link: 'https://www.gadgets360.com/cryptocurrency/news/bitcoin-demand-notorious-actors-bomb-threat-walmart-whole-foods-us-4153505'
    },
    {
      no: 7,
      title: 'Sony Bravia XR X90L Television Series With Dolby Vision, Google TV Launched in India: Price, Specifications',
      date: ' 26 June 2023',
      catname: 'Home Entertainment',
      img: 'https://www.gadgets360.com/static/icons/img_120n.png',
      link: 'https://www.gadgets360.com/tv/news/sony-bravia-xr-x90l-tv-55-65-75-inch-price-in-india-rs-139999-launch-specifications-features-4153486'
    },
    {
      no: 8,
      title: 'iPhone 15 Pro Max Leaked Case Tips Design Changes to Mute Button: All Details',
      date: ' 26 June 2023',
      catname: 'Mobiles',
      img: 'https://www.gadgets360.com/static/icons/img_120n.png',
      link: 'https://www.gadgets360.com/mobiles/news/iphone-15-pro-max-case-design-mute-button-camera-apple-leak-4153251'
    },
    {
      no: 9,
      title: 'Vivo X90S With MediaTek Dimensity 9200+ SoC, 120W Wired Fast Charging Launched: Price, Specifications',
      date: ' 26 June 2023',
      catname: 'Mobiles',
      img: 'https://www.gadgets360.com/static/icons/img_120n.png',
      link: 'https://www.gadgets360.com/mobiles/news/vivo-x90s-price-cny-3999-4299-4699-launch-specifications-features-4153218'
    },
    {
      no: 10,
      title: 'Apple Vision Pro $3,499 Price Might Not Include Overhead Strap For Headset: Mark Gurman',
      date: ' 26 June 2023',
      catname: 'Wearables',
      img: 'https://www.gadgets360.com/static/icons/img_120n.png',
      link: 'https://www.gadgets360.com/wearables/news/apple-vision-pro-price-usd-3499-overhead-strap-headset-extra-cost-mark-gurman-4152914'
    },
    {
      no: 11,
      title: '‘Not a Given That AI Will Only Have a Positive Impact’: After AI Boom, Investors Wary of Possible Risks',
      date: ' 26 June 2023',
      catname: 'Internet',
      img: 'https://www.gadgets360.com/static/icons/img_120n.png',
      link: 'https://www.gadgets360.com/internet/news/generative-ai-boom-investors-wary-of-possible-risks-markets-boost-4153217'
    },
    {
      no: 12,
      title: 'OnePlus Ace 2 Pro Specifications Leak Again, Tipped to Use Snapdragon 8+ Gen 2 SoC',
      date: ' 26 June 2023',
      catname: 'Mobiles',
      img: 'https://www.gadgets360.com/static/icons/img_120n.png',
      link: 'https://www.gadgets360.com/mobiles/news/oneplus-ace-2-pro-specifications-features-snapdragon-8-plus-gen-2-soc-expected-leak-4152946'
    },
    {
      no: 13,
      title: 'Tech Giants Could Face Fines Worth Up to 5 Percent of Annual Turnover Under Proposed Australian Laws',
      date: ' 26 June 2023',
      catname: 'Internet',
      img: 'https://www.gadgets360.com/static/icons/img_120n.png',
      link: 'https://www.gadgets360.com/internet/news/facebook-google-twitter-tiktok-tech-giants-billions-of-dollars-fine-tackling-disinformation-australian-laws-watchdog-4153047'
    },
    {
      no: 14,
      title: 'iQoo 11S, iQoo TWS 1 Earbuds Launch Set for July 6, Teased to Run on Snapdragon 8 Gen 2',
      date: ' 26 June 2023',
      catname: 'Mobiles',
      img: 'https://www.gadgets360.com/static/icons/img_120n.png',
      link: 'https://www.gadgets360.com/mobiles/news/iqoo-11s-tws-1-earbuds-launch-date-july-4-specifications-teaser-pre-order-ram-storage-specifications-4152915'
    },
    {
      no: 15,
      title: 'Automakers Plan a Second Life for Old EV Batteries, but That Depends How Long the First Is',
      date: ' 26 June 2023',
      catname: 'Auto',
      img: 'https://www.gadgets360.com/static/icons/img_120n.png',
      link: 'https://www.gadgets360.com/auto/news/ev-battery-second-life-re-use-global-automakers-energy-storage-4152893'
    },
    {
      no: 16,
      title: 'OnePlus 12 Tipped to Launch in December; Leaked Specifications Hint at Snapdragon 8 Gen 3 SoC: Details',
      date: ' 26 June 2023',
      catname: 'Mobiles',
      img: 'https://www.gadgets360.com/static/icons/img_120n.png',
      link: 'https://www.gadgets360.com/mobiles/news/oneplus-12-specifications-launch-timeline-leak-camera-4152865'
    },
    {
      no: 17,
      title: 'OnePlus Nord CE 3 Live Images Leak Online, Hint at Imminent Launch: Details',
      date: ' 26 June 2023',
      catname: 'Mobiles',
      img: 'https://www.gadgets360.com/static/icons/img_120n.png',
      link: 'https://www.gadgets360.com/mobiles/news/oneplus-nord-ce-3-design-live-images-leak-specifications-features-expected-4152614'
    },
    {
      no: 18,
      title: 'Crypto Market Watch: Bitcoin, Ether Carry Recovered Prices Into June End Amid Market Volatility',
      date: ' 26 June 2023',
      catname: 'Cryptocurrency',
      img: 'https://www.gadgets360.com/static/icons/img_120n.png',
      link: 'https://www.gadgets360.com/cryptocurrency/news/bitcoin-ether-cryptocurrency-price-today-june-26-volatile-crypto-market-watch-4152824'
    },
    {
      no: 19,
      title: 'Oppo A78 4G Design Renders, Key Specifications Tipped, Said to Launch Soon',
      date: ' 26 June 2023',
      catname: 'Mobiles',
      img: 'https://www.gadgets360.com/static/icons/img_120n.png',
      link: 'https://www.gadgets360.com/mobiles/news/oppo-a78-4g-design-renders-expected-launch-leak-specifications-report-4152591'
    },
    {
      no: 20,
      title: 'Apple Watch Ultra Refresh, 30-Inch iMac, iPad Air, More in Pipeline: Mark Gurman',
      date: ' 26 June 2023',
      catname: 'Wearables',
      img: 'https://www.gadgets360.com/static/icons/img_120n.png',
      link: 'https://www.gadgets360.com/wearables/news/apple-watch-series-9-ultra-launch-september-iphone-15-mac-ipad-imac-roadmap-mark-gurman-power-on-report-4152666'
    }
  ]
}
ℹ️ Example Get News Details From Url
const details = await  nima.getNews("https://www.gadgets360.com/mobiles/news/motorola-edge-40-g32-viva-magenta-rose-gold-satin-maroon-colour-options-price-in-india-specifications-4143206")

console.log(details)
🔍 Result Url Details
{
  creator: 'MR NIMA',
  status: true,
  result: {
  title: 'Nothing Phone 2 Pre-Orders to Start in India on June 29 Via Flipkart: All Details',
  link: 'https://www.gadgets360.com/mobiles/news/nothing-phone-2-india-pre-order-june-29-launch-july-11-flipkart-carl-pei-4153594',
  img: 'https://i.gadgets360cdn.com/large/Nothing_Phone_1_1684229986019.jpg?downsize=950:*',                                      
  desc: 'Nothing Phone 2 is scheduled to launch in India on July 11 and will be available for purchase via Flipkart. The phone, succeeding the Nothing Phone 1 that released back in July 2022, is already confirmed to be powered by an octa-core Qualcomm Snapdragon 8+ Gen 1 SoC and pack a larger battery and feature a larger display than its predecessor. Nothing CEO Carl Pei has teased the user interface of the upcoming smartphone by sharing a screenshot of the handset's home screen. Flipkart today confirmed the date from which the phone will be open for pre-ordering in the country.The Flipkart microsite for the Nothing Phone 2 announced that the phone will be available for pre-orders in India starting June 29, 12 PM IST. For pre-ordering, a customer is required to pay a refundable deposit of Rs. 2,000. Following that, between 9 PM IST on July 11 and 11:59 PM IST on July 20, the concerned customers can choose the variant of their liking and pay the balance amount to secure the purchase.Nothing is also offering a 50 percent discount on the Ear Stick, alongside the pre-order offers. The company claims that there will also be instant cashback offers available with the leading banks during the pre-order of the Nothing Phone 2. Customers will be able to avail of an additional 50 percent discount on the Nothing Accessories box.iPhone 15 Pro Max Leaked Case Tips Design Changes to Mute ButtonExpected to be offered in Black and White colour options like its predecessor, the Nothing Phone 2 has been tipped to launch in two storage configurations. The 8GB RAM + 256GB storage variant is likely to be priced at EUR 729 (roughly Rs. 65,600), while the 12GB RAM + 512GB storage option could be marked at EUR 849 (roughly Rs. 76,500).Nothing Phone 2 is confirmed to be equipped with a USB Type-C cable with a transparent outer layer and a silver-coloured USB port. The phone will also sport a 6.7-inch display, with a resolution of full-HD+ (2400 x 1080 pixels) or higher. The Phone 2 is also confirmed to pack a 4,700mAh battery and come with an octa-core Qualcomm Snapdragon 8+ Gen 1 SoC. The company announced that the handset will receive 3 years of Android updates and 4 years of security updates.\n'
  }
}

👨‍💻 : This is unofficial scrape, all posts are owned by gadgets360.com site.