# meditations

> Get specific or random quotes and passages from the Stoic text Meditations by Marcus Aurelius.

Latest version **1.0.1** (published 2020-11-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install meditations
pnpm add meditations
yarn add meditations
bun add meditations
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-11-01 |
| First published | 2020-10-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 242.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Abdulrahman Tolba |
| Maintainers | abdultolba |
| Keywords | stoic, stoicism |

## Links

- npm: https://www.npmjs.com/package/meditations
- Repository: https://github.com/abdultolba/meditations
- Homepage: https://github.com/abdultolba/meditations#readme
- Issues: https://github.com/abdultolba/meditations/issues
- npm.io page: https://npm.io/package/meditations

## Dependencies (1)

- [unique-random-array](https://npm.io/package/unique-random-array.md) ^2.0.0

## Recent versions

- 1.0.1 (latest) — 2020-11-01
- 1.0.0 — 2020-10-29

## README

# meditations
Retrieve random or specific phrases from Marcus Aurelius' meditations.

## Usage
#### Use module in a JavaScript/Node.js application
- To install this package, save it as a dependency using npm:
```bash
$ npm install --save meditations
```
- Require the module in your application:
```javascript
const meditations = require('meditations')
```

- Retrieve a random quote
```javascript
const meditations = require('meditations')

meditations.random()
// "All that is from the... and from thy heart thankful to the gods. "
```

- Retrieve a specific quote
```javascript
const meditations = require('meditations')

meditations.retrieve(1,3) // Retrieves Meditations [1:3]
// "From my mother, piety and beneficence, and abstinence, not only from
// evil deeds, but even from evil thoughts; and further, simplicity in
// my way of living, far removed from the habits of the rich."
```

## License

MIT Abdulrahman Tolba

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