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;
}