Package Exports
- time.ir-private-api
- time.ir-private-api/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (time.ir-private-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Time.ir Mobile App Private Api
a lightweight module to work with time.ir private api
TODO's
- method to get cities for religious times
- get city religious times by id
- get month event by month and year
- convert time to other base's
- a documention and examples
Usage
- install with npm
npm i time.ir-private-api- use in your project
const Timeir = require("time.ir-private-api");
const time = new Timeir();
(async ()=>{
const now = await time.now()
const quote = await time.randomQuote()
console.log(now,quote)
})();