hukamnama-json

0.5.2 • Public • Published

🙏🏻 🙏🏼 🙏🏽 🙏🏾 🙏🏿 hukamnama-json

NodeJS module that fetches Hukamnama from Harimandir Sahib, Amritsar via SGPC

Installation

Requires Node v8+

npm i hukamnama-json

Usage

var hukamnama = require('hukamnama-json');
 
hukamnama.default()
  .then(({ ang, content, gurbani, punjabi, english }) =>
    console.log(ang, content, gurbani, punjabi, english)
  )
  .catch(error => console.log(error));

Changelog

1.0.0

  • I don't know ¯\_(ツ)_/¯, why don't you suggest?

0.5.0

  • Ensure it's battle-tested.
  • Make it universal

0.1.6

  • Extract date of hukamnama.
  • Ensure it works with multiple-page pdf.

0.0.4

  • Fix #1

0.0.3

  • Use babel for better backward compatibility

0.0.1 (Initial Release)

  • Use rudimentary text parsing to extract.
    • entire content.
    • hukamnama in gurakhr.
    • punjabi translation.
    • english translation.
    • ang.
  • Use PDFJS to extract contents out of the pdf.

Contributing

# Clone 
git clone https://github.com/bogas04/hukamnama-json
cd hukamnama.json
 
# Build 
npm i
npm run build
 
# Test 
npm test

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i hukamnama-json

Weekly Downloads

2

Version

0.5.2

License

MIT

Unpacked Size

14.5 kB

Total Files

9

Last publish

Collaborators

  • bogas04