# arbain-id

> Hadits Arbain Data Sheet

Latest version **1.0.0** (published 2022-09-18) · ISC license · 0 weekly downloads

## Install

```sh
npm install arbain-id
pnpm add arbain-id
yarn add arbain-id
bun add arbain-id
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-09-18 |
| First published | 2022-09-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 88.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Abdan Zam Zam Ramadhan |
| Maintainers | abdanzamzam |

## Links

- npm: https://www.npmjs.com/package/arbain-id
- Repository: https://github.com/abdanzamzam/arbain-id
- Homepage: https://github.com/abdanzamzam/arbain-id#readme
- Issues: https://github.com/abdanzamzam/arbain-id/issues
- npm.io page: https://npm.io/package/arbain-id

## Recent versions

- 1.0.0 (latest) — 2022-09-18

## README

# Hardits Arba'in

Hadits Arbai'in Data Sheet

## How to Install

```bash
npm install arbain-id
# or
yarn add arbain-id
```

## How to Use

```javascript
// in common JS
const HaditsArbain = require("arbain-id");

// in typescript
import HaditsArbain from "arbain-id";

const arbain = new HaditsArbain();

// Get List All of Hadits
arbain.getAllHadits()
    .then((data) => {
        // data handling here
        console.log(data);
    })
    .catch((error) => {
        // error handling here
        console.log(error);
    });


// Get One Hadits by Number
arbain.getOneHadits(
        1   // required, number hadits
    )
    .then((data) => {
        // data handling here
        console.log(data);
    });
    .catch((error) => {
        // error handing here
        console.log(error);
    })

```

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