Skip to content

abdultolba/meditations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

meditations

Retrieve random or specific phrases from Marcus Aurelius' meditations.

Contributors Stargazers Issues MIT License LinkedIn

Usage

Use module in a JavaScript/Node.js application

  • To install this package, save it as a dependency using npm:
$ npm install --save meditations
  • Require the module in your application:
const meditations = require('meditations');
  • Retrieve a random quote
const meditations = require('meditations');

meditations.random();
// "All that is from the... and from thy heart thankful to the gods. "
  • Retrieve a specific quote
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

Distributed under the MIT License. See LICENSE for more information.

About

Retrieve random or specific phrases from Marcus Aurelius' meditations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published