This package has been deprecated

Author message:

Don't use this

@rammbulanz/golem
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

golem

Fetch golem.de/ticker articles

Note: It fetches the golem articles from plain html. If golem.de will change an important node, this module can be broken. Use github issue tracker to report it if it happens.

Install

npm install @rammbulanz/golem

Use

Include in javascript

var Golem = require("@rammbulanz/golem")

Include in typescript

import * as Golem from '@rammbulanz/golem'

Fetch articles

var articles = await Golem.getArticles();

Fetch artikle

var article = await Golem.getArticle("${ARTICLE_URL}");
// Article will be an object like 
{
	meta: {
		url: string,
		date: Date,
		author: string,
		keywords: string[]
	},
	title: string,
	content: string,
	plainHtml: string,
	// Array of URLs
	pictures: string[],
	// Array of URLs
	videos: string[]
}

/@rammbulanz/golem/

    Package Sidebar

    Install

    npm i @rammbulanz/golem

    Weekly Downloads

    0

    Version

    1.0.2

    License

    ISC

    Last publish

    Collaborators

    • rammbulanz