Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more

πŸ“° @europresse-lib

A TypeScript library for the Europresse API.

Features

  • Authentication
  • Search
  • Article retrieval in HTML

Supported authentication providers

Installation

npm install europresse-lib

# or 

yarn add europresse-lib

Usage

import { auth, search, article } from 'europresse-lib';

const cookies = await auth('username', 'password', 'provider');
const results = await search(cookies, 'query');
const article = await article(cookies, 'id', 'html');