# mersul-microbuzelor

> > Get information about the bus schedule in Romania.

Latest version **1.0.0** (published 2024-03-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install mersul-microbuzelor
pnpm add mersul-microbuzelor
yarn add mersul-microbuzelor
bun add mersul-microbuzelor
```

Provides the command `mersul-microbuzelor`.

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2024-03-08 |
| First published | 2024-03-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 25.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Paul Tal |
| Maintainers | katistix |
| Keywords | mersul, microbuzelor, information, about, the, romanian, buses |

## Links

- npm: https://www.npmjs.com/package/mersul-microbuzelor
- npm.io page: https://npm.io/package/mersul-microbuzelor

## Dependencies (3)

- [tsup](https://npm.io/package/tsup.md) ^8.0.2
- [le-table](https://npm.io/package/le-table.md) ^6.1.10
- [scrape-it](https://npm.io/package/scrape-it.md) ^6.1.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2024-03-08

## README

# `katistix/mersul-microbuzelor`

> Get information about the bus schedule in Romania.

This project is inspired by [IonicaBizau/mersul-trenurilor](https://github.com/IonicaBizau/mersul-trenurilor). And it uses [@IonicaBizau](https://github.com/IonicaBizau)'s [scrape-it](https://github.com/IonicaBizau/scrape-it) module to scrape the data from [autogari.ro](https://autogari.ro).

## :cloud: Installation

You can install the package globally and use it as command line tool:

```bash
# Using npm
npm install -g mersul-microbuzelor

# Using yarn
yarn global add mersul-microbuzelor
```

## :clipboard: Using it as a library

```typescript
const mersulMicrobuzelor = require("mersul-microbuzelor");

mersulMicrobuzelor
    .getDepartures("Bucuresti", "Ploiesti", "2024-01-01")
    .then((data) => {
        console.log(data);
    });
```

This will output a list of departures from Bucuresti to Ploiesti on 2024-01-01 in the form of:

```typescript
type DepartureOutput = {
    departure_time: string;
    arrival_time: string;
    price: string;
    company: string;
};
```

## :sparkling_heart: Support my projects

I love open source and I love programming. If you want to show your appreciation for my work, consider supporting me on Patreon or Ko-Fi. This way I can continue to create awesome projects and share them with everyone. Thank you! :heart:

[![Patreon](https://img.shields.io/badge/Patreon-F96854?style=for-the-badge&logo=patreon&logoColor=white)](https://patreon.com/katistix)
[![Ko-Fi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/G2G5R30KO)

---
_Source: https://npm.io/package/mersul-microbuzelor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
