NodeJS module that fetches Hukamnama from Harimandir Sahib, Amritsar via SGPC
Requires Node v8+
npm i hukamnama-json
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));
- I don't know
¯\_(ツ)_/¯
, why don't you suggest?
- Ensure it's
battle-tested
. - Make it universal
- Extract date of hukamnama.
- Ensure it works with multiple-page pdf.
- Fix #1
- Use babel for better backward compatibility
- 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.
# Clone
git clone https://github.com/bogas04/hukamnama-json
cd hukamnama.json
# Build
npm i
npm run build
# Test
npm test
MIT