JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q40050F
  • License ISC

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (csblogscraper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    CS Blog and Updates Scraper

    Get Blog and Update posts from CSGO

    Usage:

    import { getBlogPosts, getUpdatePosts } from "csblogscraper";
    
    const blogPosts = await getBlogPosts();
    const updatePosts = await getUpdatePosts();

    OR

    import getPosts from "csblogscraper";
    
    const posts = await getPosts("https://blog.counter-strike.net/");

    Output:

    interface Post {
      title: string;
      url: string;
      date: string;
      content: string;
    }