{"_id":"@0x1eef/quran","_rev":"3-a923ab6bc73264b9aef76a90e2e1adb5","name":"@0x1eef/quran","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"@0x1eef/quran","version":"0.1.0","keywords":["quran","islam","typescript","javascript"],"author":{"name":"0x1eef"},"license":"GPL-3.0","_id":"@0x1eef/quran@0.1.0","maintainers":[{"name":"0x1eef","email":"0x1eef@protonmail.com"}],"homepage":"https://github.com/ReflectsLight/Quran.js#readme","bugs":{"url":"https://github.com/ReflectsLight/Quran.js/issues"},"dist":{"shasum":"3a66619d4e797e350752ea8d61cb93bdcc0c04d0","tarball":"https://registry.npmjs.org/@0x1eef/quran/-/quran-0.1.0.tgz","fileCount":8,"integrity":"sha512-yeR/5/UrVcGMhH3Ev/aXJzYRFyyJnjK9n6I+vmZOjDSQL1xi58MMIrjDU+IXktoRZ8p+QelB+lHsQGQ10tP1BQ==","signatures":[{"sig":"MEUCIGcMkt+AJ5fZjzE+6pOgwltwIkA6w46q6YfPdbZzDK4cAiEAkp6rES6+DLivNL1AJu/6l2vMv/P3aHW2uNUOsb1OO7U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4173968},"main":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":"./dist/index.mjs"},"gitHead":"a0d88ffb906ac4a2cdfb943af957a1e639a7b34d","scripts":{"build":"npx webpack --config etc/webpack.config.js","format":"npx eslint --config etc/eslint.config.mjs --fix src/index.ts","prepare":"npm run build && npm run tsc:decl","tsc:decl":"tsc -p etc/tsconfig.json --emitDeclarationOnly"},"_npmUser":{"name":"0x1eef","email":"0x1eef@protonmail.com"},"repository":{"url":"git+https://github.com/ReflectsLight/Quran.js.git","type":"git"},"_npmVersion":"10.8.3","description":"A programmer's interface to The Noble Quran","directories":{},"_nodeVersion":"20.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.3.3","typescript":"^5.5","@types/node":"^22.0","webpack-cli":"^5.1.4","babel-loader":"^9.2.1","@babel/preset-env":"^7.25.8","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@babel/preset-typescript":"^7.25.7"},"_npmOperationalInternal":{"tmp":"tmp/quran_0.1.0_1729646276242_0.81623028565297","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@0x1eef/quran","version":"0.1.1","keywords":["quran","islam","typescript","javascript"],"author":{"name":"0x1eef"},"license":"GPL-3.0","_id":"@0x1eef/quran@0.1.1","maintainers":[{"name":"0x1eef","email":"0x1eef@protonmail.com"}],"homepage":"https://github.com/ReflectsLight/Quran.js#readme","bugs":{"url":"https://github.com/ReflectsLight/Quran.js/issues"},"dist":{"shasum":"a7feb7fa5e52b9fad3932973aaf3a4a55db213cb","tarball":"https://registry.npmjs.org/@0x1eef/quran/-/quran-0.1.1.tgz","fileCount":8,"integrity":"sha512-70uovp+8A4zMEXPvKvC/iT5Bur8A8ZsOKwmTP6t/AG44wPqWWkOJ6w0x8uuxRGja5JZNzG9qnIV3U+BVk1KsvA==","signatures":[{"sig":"MEUCIQC7i3ffULlTVPFJqd7h+4njBcQe9xgygYTeleYstGujpAIgLvYcUo3XzANK4seggIweHIEWmRPrzztKm9DRVwcs8QE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4174367},"main":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":"./dist/index.mjs"},"gitHead":"721dae6d834c75c7cf046f469cbe91d6dcc6ae5b","scripts":{"build":"npx webpack --config etc/webpack.config.js","format":"npx eslint --config etc/eslint.config.mjs --fix src/index.ts","prepare":"npm run build && npm run tsc:decl","tsc:decl":"tsc -p etc/tsconfig.json --emitDeclarationOnly"},"_npmUser":{"name":"0x1eef","email":"0x1eef@protonmail.com"},"repository":{"url":"git+https://github.com/ReflectsLight/Quran.js.git","type":"git"},"_npmVersion":"10.8.3","description":"A programmer's interface to The Noble Quran","directories":{},"_nodeVersion":"20.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.3.3","typescript":"^5.5","@types/node":"^22.0","webpack-cli":"^5.1.4","babel-loader":"^9.2.1","@babel/preset-env":"^7.25.8","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@babel/preset-typescript":"^7.25.7"},"_npmOperationalInternal":{"tmp":"tmp/quran_0.1.1_1729677900070_0.8188403665536788","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@0x1eef/quran","version":"0.2.0","keywords":["quran","islam","typescript","javascript"],"author":{"name":"0x1eef"},"license":"GPL-3.0","_id":"@0x1eef/quran@0.2.0","maintainers":[{"name":"0x1eef","email":"0x1eef@protonmail.com"}],"homepage":"https://github.com/ReflectsLight/Quran.js#readme","bugs":{"url":"https://github.com/ReflectsLight/Quran.js/issues"},"dist":{"shasum":"df9795f7b9454b134dd417ee88a5471ede81a2d2","tarball":"https://registry.npmjs.org/@0x1eef/quran/-/quran-0.2.0.tgz","fileCount":10,"integrity":"sha512-rbdAmUPFUX78Q90CH1fd0G/r0utXF7Hj24M/WWkRizGTe4CJK//HBEWFQb7xTdxnk6vxpd6dxLzvs+8FSfM+PA==","signatures":[{"sig":"MEUCIHg0ClFK/DWVS+OocoJiEOfVE2MX2eyShda/0UZuy6+vAiEAptQATSnkLdNaBS4f5uU1udmafsS2ftdfyhtEfGN4QeE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8310106},"main":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":"./dist/index.mjs"},"gitHead":"a4291a6ccb7cf6dca0d9bf8da6aed21f065afe37","scripts":{"build":"npx webpack --config etc/webpack.config.js","format":"npx eslint --config etc/eslint.config.mjs --fix src/index.ts","prepare":"npm run build && npm run tsc:decl","tsc:decl":"tsc -p etc/tsconfig.json --emitDeclarationOnly"},"_npmUser":{"name":"0x1eef","email":"0x1eef@protonmail.com"},"repository":{"url":"git+https://github.com/ReflectsLight/Quran.js.git","type":"git"},"_npmVersion":"10.9.2","description":"A programmer's interface to The Noble Quran","directories":{},"_nodeVersion":"23.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.3.3","typescript":"^5.5","@types/node":"^22.0","webpack-cli":"^5.1.4","babel-loader":"^9.2.1","@babel/preset-env":"^7.25.8","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@babel/preset-typescript":"^7.25.7"},"_npmOperationalInternal":{"tmp":"tmp/quran_0.2.0_1739052277155_0.5017879328282122","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@0x1eef/quran","version":"0.2.1","description":"A programmer's interface to The Noble Quran","author":{"name":"0x1eef"},"license":"GPL-3.0","main":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":"./dist/index.mjs"},"keywords":["quran","islam","typescript","javascript"],"publishConfig":{"access":"public"},"scripts":{"build":"npx webpack --config etc/webpack.config.js","prepare":"npm run build && npm run tsc:decl","tsc:decl":"tsc -p etc/tsconfig.json --emitDeclarationOnly","format":"npx eslint --config etc/eslint.config.mjs --fix src/index.ts"},"repository":{"type":"git","url":"git+https://github.com/ReflectsLight/Quran.js.git"},"devDependencies":{"@babel/preset-env":"^7.25.8","@babel/preset-typescript":"^7.25.7","@types/node":"^22.0","babel-loader":"^9.2.1","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","prettier":"^3.3.3","typescript":"^5.5","webpack-cli":"^5.1.4"},"_id":"@0x1eef/quran@0.2.1","gitHead":"b941acd3bedbdb4a86b643f7975f7c1b1a9f7c65","bugs":{"url":"https://github.com/ReflectsLight/Quran.js/issues"},"homepage":"https://github.com/ReflectsLight/Quran.js#readme","_nodeVersion":"23.5.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-SVpDWVrusvb8/GfoXN/JKgaTQosbhhnrbexfBEkfJlWvdnPv8jzltnSNX0eFKfLBjqsHzHz3Unn9CYdnl3G2aA==","shasum":"c3177142e9887f55da8cf5632953c7aed48cbf0f","tarball":"https://registry.npmjs.org/@0x1eef/quran/-/quran-0.2.1.tgz","fileCount":10,"unpackedSize":8310089,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF/OcW8Y5KiceQwbA4O5BB8qnMqrC5kMLx5x8umnKPsrAiEA0MbTG/Rkg3VrCyln6sWD8fz5deikNYz4u/IEzO7KL7I="}]},"_npmUser":{"name":"0x1eef","email":"0x1eef@protonmail.com"},"directories":{},"maintainers":[{"name":"0x1eef","email":"0x1eef@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quran_0.2.1_1739052621092_0.7173192751850226"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-23T01:17:56.137Z","modified":"2025-02-08T22:10:21.563Z","0.1.0":"2024-10-23T01:17:56.475Z","0.1.1":"2024-10-23T10:05:00.254Z","0.2.0":"2025-02-08T22:04:37.366Z","0.2.1":"2025-02-08T22:10:21.383Z"},"bugs":{"url":"https://github.com/ReflectsLight/Quran.js/issues"},"author":{"name":"0x1eef"},"license":"GPL-3.0","homepage":"https://github.com/ReflectsLight/Quran.js#readme","keywords":["quran","islam","typescript","javascript"],"repository":{"type":"git","url":"git+https://github.com/ReflectsLight/Quran.js.git"},"description":"A programmer's interface to The Noble Quran","maintainers":[{"name":"0x1eef","email":"0x1eef@protonmail.com"}],"readme":"<p align=\"center\">\nالْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ\n</p>\n\n## About\n\n[`@0x1eef/quran`](https://www.npmjs.com/package/@0x1eef/quran)\nprovides a programmer's interface to The Noble Quran,\nalongside various translations. At the time of writing\nthere is support for the Arabic, English, and Farsi languages.\n\n## Examples\n\n### Quran.locales\n\nThe\n[`Quran.locales`](http://0x1eef.github.io/x/Quran.js/classes/Quran.html#locales)\ngetter provides an object where the\nkey is a locale name (such as `en`) and the value is a\nlocale object. The locales returned by this method indicate\nwhat languages the\n[`@0x1eef/quran`](https://www.npmjs.com/package/@0x1eef/quran)\nlibrary supports:\n\n```typescript\n#!/usr/bin/env node\nimport { Quran } from \"@0x1eef/quran\";\n\n(() => {\n  const locales = Object.keys(Quran.locales);\n  locales.forEach((key) => {\n    const locale = Quran.locales[key];\n    console.log(\"The Noble Quran for \", locale.displayName, \" speakers\");\n  });\n  /*\n    The Noble Quran for English speakers\n    The Noble Quran for العربية speakers\n    The Noble Quran for فارسی speakers\n  */\n})();\n```\n\n### Quran.surahs\n\nThe\n[`Quran.surahs`](http://0x1eef.github.io/x/Quran.js/classes/Quran.html#surahs-1)\ngetter provides an object where the key\nis a locale name (such as `en`) and the value is a surah\nobject. For example:\n\n```typescript\n#!/usr/bin/env node\nimport { Quran } from \"@0x1eef/quran\";\n\n(() => {\n  const surah = Quran.surahs[\"en\"][0];\n  const ayah = surah.ayat[0].body;\n  console.log(ayah);\n  /*\n     In the Name of Allah —\n     the Most Compassionate, Most Merciful.\n   */\n})();\n```\n\n## Documentation\n\nA complete API reference is available at [0x1eef.github.io/x/Quran.js](https://0x1eef.github.io/x/Quran.js)\n\n## Install\n\n[`@0x1eef/quran`](https://www.npmjs.com/package/@0x1eef/quran)\nis available via npm:\n\n\tnpm i @0x1eef/quran\n\n## Credit\n\n**Translations**\n\n* English (The Clear Quran) by Dr. Mustafa Khattab\n* Farsi by Hussain Ansarian\n\n## Sources\n\n* [github.com/@ReflectsLight](https://github.com/ReflectsLight/Quran.js)\n* [gitlab.com/@ReflectsLight](https://gitlab.com/ReflectsLight/Quran.js)\n* [codeberg.org/@ReflectsLight](https://codeberg.org/ReflectsLight/Quran.js)\n* [brew.bsd.cafe/@ReflectsLight](https://brew.bsd.cafe/ReflectsLight/Quran.js)\n\n## License\n\nThe \"source code\" is released under the terms of the GPL <br>\nSee [LICENSE](./share/Quran/LICENSE) for details\n","readmeFilename":"README.md"}