npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

quraniclabs-cli

v1.0.9

Published

A simple command-line interface to access the QuranicLabs API.

Downloads

6

Readme

quraniclabs-cli

A simple command-line interface to access the QuranicLabs API directly from the terminal.

Installation

Run the following command on your terminal to install the CLI on your system:

npm install quraniclabs-cli -g

*Installing npm packages requires Node.js on your system.

*Must be ran as administrator to install globally ("sudo npm i quraniclabs-cli -g" on macOS).

View package on npmjs.com

Usage

All commands are based on the following command structure:

ql <command> [query] [flags]

Possible command values:

  • verse / v – load verse(s)
  • chapter / ch – load a chapter
  • search / s – search Quran: The Final Testament
  • prayertimes / pt - fetch latest prayer times for any city
  • moc – search Dr. Rashad Khalifa's media transcripts
  • gv – calculate gematrical value of any Arabic text

Possible flag values:

  • -a – include Arabic text
  • -t – include Arabic transliteration
  • -h false – no headers
  • -f false – no footnotes
  • --sf – filter strictly for the exact search query
  • --strict – filter strictly for text matches (no headers/footnotes)
  • --detailed - include additional details if applicable

Examples

Quranic commands

Load a single verse:

ql v 1:2

Output:

[1:2] Praise be to GOD, Lord of the universe.

Load multiple verses:

ql v 1:2-4

Output:

[1:2] Praise be to GOD, Lord of the universe.

[1:3] Most Gracious, Most Merciful.

[1:4] Master of the Day of Judgment.

Search the text:

ql s "nineteen" --strict

Output:

Found 1 verses with "nineteen"

The Quran's Common Denominator

[74:30] Over it is nineteen.±

±74:30-35 This "One of the great miracles" provides the first physical evidence that the Quran is God's message to the world. This 19-based miracle is detailed in Appendix 1.

Media commands

Search Dr. Khalifa's media transcripts:

ql moc "1974"

Output:

Found 3 instances of "1974"

1989 Feb (Sermon) @ 7:00 - https://youtu.be/HO8vezbVKso?t=420s - with that year, 1974.

1989 Feb (Sermon) @ 7:37 - https://youtu.be/HO8vezbVKso?t=457s - that was January 1974.

1989 Feb (Sermon) @ 7:42 - https://youtu.be/HO8vezbVKso?t=462s - And this corresponded to the last month, this is the first month of 1974, corresponds to

Prayer times

Search by city:

ql pt "new york"

Output:

New York City, New York, USA
8:52 PM (Eastern Standard Time)

Schedule
Fajr: 3:43 AM
Dhuhr: 1:03 PM
Asr: 5:00 PM
Maghrib: 8:23 PM
Isha: 10:21 PM
Sunrise: 5:41 AM

Upcoming
Isha (in 1h 29m)

Other commands

Random verse:

ql rv

Random chapter:

ql rc

Gematrical value:

ql gv "[arabic text]"

License

The quraniclabs-cli is licensed under the MIT license.