https://github.com/ebandev/europresse-lib
📰 A typescript library for Europresse
https://github.com/ebandev/europresse-lib
deno europresse typescript
Last synced: 5 months ago
JSON representation
📰 A typescript library for Europresse
- Host: GitHub
- URL: https://github.com/ebandev/europresse-lib
- Owner: ebanDev
- License: agpl-3.0
- Created: 2022-05-27T11:38:29.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-07-14T14:07:48.000Z (11 months ago)
- Last Synced: 2025-07-14T17:39:28.357Z (11 months ago)
- Topics: deno, europresse, typescript
- Language: TypeScript
- Homepage:
- Size: 53.7 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 📰 @europresse-lib
A TypeScript library for the Europresse API.
*This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with the Europresse, or any of its subsidiaries or its affiliates. The name Europresse as well as related names, marks, emblems and images are registered trademarks of their respective owners.*
## Features
- [x] Authentication
- [x] Search
- [x] Article retrieval in HTML
## Supported authentication providers
- [x] [@ent-cookies](https://github.com/ebanDev/ent-cookies)
- Additional parameters: `ent`
- [ ] direct login
- [ ] bnf
## Installation
```bash
npm install europresse-lib
# or
yarn add europresse-lib
```
## Usage
```typescript
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');
```