{"_id":"@anchovy_studios/alkitab","_rev":"4-66f9c494bc7c2491dae7244ae8d0c0fc","name":"@anchovy_studios/alkitab","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.1":{"name":"@anchovy_studios/alkitab","version":"0.0.1","description":"Indonesian Holy Bible","main":"app.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Anchovy-Studios/alkitab.git"},"keywords":["alkitab","holy bible","bible","alkitab parser","indonesian bible"],"author":{"name":"Joshua Lauwrich Nandy"},"license":"MIT","bugs":{"url":"https://github.com/Anchovy-Studios/alkitab/issues"},"homepage":"https://github.com/Anchovy-Studios/alkitab#readme","dependencies":{"semver":"7.3.2"},"_id":"@anchovy_studios/alkitab@0.0.1","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-VsJ1QPza9oDZRO0s2k6vTHqBed0sBI2VqPCc5njyHGNRfO4/f6EcMcU/mjgYnPQNPGqgoVd+IKlT+qgAYh4t+w==","shasum":"87275bacae439c652fbe3906e419716f9678c59c","tarball":"https://registry.npmjs.org/@anchovy_studios/alkitab/-/alkitab-0.0.1.tgz","fileCount":7,"unpackedSize":4783141,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetWMyCRA9TVsSAnZWagAAqCwP+gICuZ7u4bohb5nUVSoL\nY7DXzXoz0O/tJb5xVdD25y+3iKh8CSW+rib6v9kI5ff5dt3qeiZOJiM+O6yK\n559e4WJKlvcaXdJiKTJLcDAfq63xWnWZygAeyiiZkASRQpQBjJNOa+I9Thak\nhlIORqQRuTpbFIK1h9wqz+yZxpjG/jWkk7aywv+T+W8OBFdbpoXjUqwYzawS\nULXZRgBRnyNag5LO7vkBvYSYHpdx2c6OSk4zYDx3rzw4qzHoBq7Z2tPe/ny6\nVB/Acy9Wp8LZ2Hs9boyeAtmbuxxI7jqJ01wuZpEltcFYTP1seVKFRRCiVUvi\n7Hk0sFiUhtjnY+0HeKwTFH1oygsJJ0B+lhwyaGocLGe5cZZGB7VXmcjBjoDb\n93Iq7d1v2P9QHWHLkAnNNrACg9ZrXRbNEonsGoELogYYjU7ePPfoN5Pl4hnu\nC5irP7jx3l3ZqzrVAwgQaMmao1UCHwY8AC9E6WQkCeO8L/iyvyfMmzKPLxnO\niucCLbMEzPWWqiKjs/VRX5nRAjiLmqJKtW6x9dSIcVRWkC82ONu4VwKTqyDY\nRNf2XGrgLJJL37+Ex8vUrypzuc0nxmJ9wEaYFlai7sLbPN/2Jp+/dgvVxCNu\nGYFT8V/IN9VLmLiU6yOkjXsY5lJr0/g3gU9KJIegdSAtwBMkueiHd0yXmPxA\n6Aw+\r\n=XgwC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDyKM4bBADSiYmtHjRGwpF8aa2fngLA0N7ZPzjU612H7AiBRuysvyLZ9ebjX6G9UjnBKbFo1nF+DhjcIzyADsR12Sw=="}]},"maintainers":[{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"}],"_npmUser":{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/alkitab_0.0.1_1588945714409_0.41714492892107224"},"_hasShrinkwrap":false},"0.0.2":{"name":"@anchovy_studios/alkitab","version":"0.0.2","description":"Indonesian Holy Bible","main":"app.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Anchovy-Studios/alkitab.git"},"keywords":["alkitab","holy bible","bible","alkitab parser","indonesian bible"],"author":{"name":"Joshua Lauwrich Nandy"},"license":"MIT","bugs":{"url":"https://github.com/Anchovy-Studios/alkitab/issues"},"homepage":"https://github.com/Anchovy-Studios/alkitab#readme","dependencies":{"semver":"7.3.2"},"gitHead":"6d4bcbb80ace79718a702795d02ee8ea344c0dfd","_id":"@anchovy_studios/alkitab@0.0.2","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-kYcYZekERnpwhrF9rqy+vCN7gRb8E5MCnQ9bcrIQ2mVndqTJwGn2lTsr5+M6eYhLUN3Spjt4etgFIqMYV0CcEA==","shasum":"44d679f6ca6ee336c74f91a00c0a62a54cfe7978","tarball":"https://registry.npmjs.org/@anchovy_studios/alkitab/-/alkitab-0.0.2.tgz","fileCount":7,"unpackedSize":4783169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetWSOCRA9TVsSAnZWagAApqcP/0/fY0TrpivpRqcySsS1\nolBoNh9KDKvZKOXSrSNi7btmqyBkY+cOlz476stZ6mcuK/RaVZtpI3tLoDhV\nc73ZSehb2tcLH0hLgCIMjUsySw3Yb8Ccq9cdgiOPE6BErJQ69G1vCFyuW8ef\nPQJk2OvmBlw740+U6vEKLey8VNeTtPBsgMlcjxPEiGTKaH0zaG++PWXWefiL\n3Jgsgy52VMmGwgd4N8Yl8mMEuEjkGW/oxKzAKtBGT26HZa8RlUJVjr2Ql07b\n0QZvNe5ocHOsyrHVoXiKtWqrfVsqdjRsJ1KgHy/YwYPAMP0XW2dXHGWEPs3c\nKWQGvJTXvUHYdkDdNIo2xu7G3tgD/djoUIT/+nF3VUfXnLtD278wi0zqoIeR\n752nUmqkYkKni23dY0nNud3+3gFyWpn8ydpD2RlGQzcRDMaZe74zWv6on/5H\nz3HCrMCHdgTqtgBepDO9+1PFEm+rwdErv8PzKckDt+DdiLB4Zz76y8cwsyte\nlghNTxsZBAQwfYS6d7FMTwCU131bh6e8bKxU2AoIyan61mgLbMrmO3+DKyDh\nuD2pCT+WRAQwGh/RlHegIfnGRjNiUx07tciB3gfZJJD8J9Dz56p+ED6G3psF\nrvHfVCXnRWn1FvHtOAI6ZDkXK/NJHQOKEhqbJSYSLvx46HA+iHD88SjzSVRw\nKwZ7\r\n=TOkY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFPbpG4f+8LwXQPL0G9I6vGOpmnaHOGgoS5brxuqUQqEAiEApJl/NkRvmN4KdUMkVmPtQTj+pU6Ar2QZhOKaNZS+jgc="}]},"maintainers":[{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"}],"_npmUser":{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/alkitab_0.0.2_1588946061717_0.3550887144411936"},"_hasShrinkwrap":false},"0.1.0":{"name":"@anchovy_studios/alkitab","version":"0.1.0","description":"Indonesian Holy Bible","main":"app.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Anchovy-Studios/alkitab.git"},"keywords":["alkitab","holy bible","bible","alkitab parser","indonesian bible"],"author":{"name":"Joshua Lauwrich Nandy"},"license":"MIT","bugs":{"url":"https://github.com/Anchovy-Studios/alkitab/issues"},"homepage":"https://github.com/Anchovy-Studios/alkitab#readme","dependencies":{"semver":"7.3.2"},"gitHead":"f6aceb4cde309e1c030039d19dd7ee3c6cd125b0","_id":"@anchovy_studios/alkitab@0.1.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-pLiZNgB3CMikDUZzY7g0IctC/lSy/SFvqXrL1gBQyg1YX1ROKGPxoS2OsT0Lb4ErS992Kkm0zLSUGi76bW2BhA==","shasum":"ccbb459a670db692570e1ea8db15f03582ed3d94","tarball":"https://registry.npmjs.org/@anchovy_studios/alkitab/-/alkitab-0.1.0.tgz","fileCount":7,"unpackedSize":4785947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetjeOCRA9TVsSAnZWagAA/YEQAJRfOZP9dDy0yPgB6TjU\ns9eJsDz1KjJlpPufBmwGwRIWbVaD99Q6AGJ96mYSG41ORtQZxUaWC+KQysoM\n9ehOh7qTnTAGDHzt24aZFW/vKZ1FJZ3KH2Ccz0peBqUervGVGhH3gaTyjayr\nBsL7AMNmfqnIjrYuqtTIc5Wp5HZ6WOjH6nHDzzPQHy4yfxhUBmo42eMx5Pyg\n1l0qBbFETw5HXO0YBZaFXFc1zug3qTEu5qRz/ggHWj0BxLIgxboxUfom2pB9\n8oyp9LvriDjNhCi4NuSzj5Ns3mWIfHuqxNmcdEQbwo9HrgYfLOZ009kDG8Se\nNCI6N9hKpQ/msG6J+jWCgLmr1f1qAXoRkn7xMP1S+3cKofCJc07hyII6DYEx\n4U0KKkZA23WG06JtQOhg+2ZiICRwhBuSWIjiTGw2kXdqdGNhoBYb3+kVQv4h\nNjyjmu1lhgPYAtAkW6G4r/rVKvb+KboOEyv8HVQxC+Ti2bAZC3nk7WfMLNvQ\nTQmt+oMsT8nHRMZQp9D2Pnm6NRyIFCjAMp24EA9ZA73GG1GYr/x5Lzpsbo2W\noWCFb0z+oBvi8ILT1PKo8SRUudadeLUMYnJOyZ/+VwW6DjIjHtwrPX9/y9xb\nAQiciv4BMmySeOT3wp79hzFHjs0ppnx6v3p9LdYUectcfyrmC+5xpf901SzC\nFPn/\r\n=lm0T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGc5tnXp8r8a3Wfkw4bAOIln5Iim8cMJ/daKaSpEXdP/AiB+RIp3QHxhWnPO9LnORAwzXVFLfItXu6FP83ywcv+qlQ=="}]},"maintainers":[{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"}],"_npmUser":{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/alkitab_0.1.0_1589000078215_0.0101066564727188"},"_hasShrinkwrap":false},"0.1.1":{"name":"@anchovy_studios/alkitab","version":"0.1.1","description":"Indonesian Holy Bible","main":"app.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Anchovy-Studios/alkitab.git"},"keywords":["alkitab","holy bible","bible","alkitab parser","indonesian bible"],"author":{"name":"Joshua Lauwrich Nandy"},"license":"MIT","bugs":{"url":"https://github.com/Anchovy-Studios/alkitab/issues"},"homepage":"https://github.com/Anchovy-Studios/alkitab#readme","dependencies":{"semver":"7.3.2"},"gitHead":"f6aceb4cde309e1c030039d19dd7ee3c6cd125b0","_id":"@anchovy_studios/alkitab@0.1.1","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-xE9qLggYP7tZTOouy+RktYCzSTfnRpBX1uib2abuIHXX0qq0F4/mz24U6RDYDC8Oqf/mx2RYVr5UY0238pXxJg==","shasum":"5f85c1f6d70e885634a55b59ba8990317193911c","tarball":"https://registry.npmjs.org/@anchovy_studios/alkitab/-/alkitab-0.1.1.tgz","fileCount":7,"unpackedSize":4785919,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJet7UFCRA9TVsSAnZWagAAGewP/jIaoWWBgJvmc1uFpUii\nF+cXgTZaUa75NNjmcII0KYNRb5yre2rHVlfTV1OlKoH6WSgRspkRjyNB8Vp8\nHk/vnZ746tSDTe/f1ZTw6JjlLHQHJAcitau22rRljU4Ja1sJy6bPsN1b0gSZ\nc2T0VB7UKNT04LotE6X1oOuMSceHCYZ5u8P4y1Nw9+JH9qpJiTa2BJTPHdXQ\nWLMGPCo8nOUV+Sq8BaBVI2Y3EM5IPnFz88ULNrLyspCccMUHZXORidfqbWem\naEIih0oDcZs70hBglrrIseDBsV9WidaYEPO2bclVBXplgqCqSZ6aGajvgvrX\nc0jgZX3IW9VRDA7lc8s50f2LRkdiN8AW5+vUV1mrCA9cHZNSCIyvpA0+XNR2\nKntNbZI5FTsNRFxm94ac/4ym5J3O9k4Wz4IcRjoClozlLA39LaVAW15gSgCs\nsVOPNhcoHSg3t0XvN+Bzuk/o5QWqgrP5y9kzqQA/IJ8YK9LAXSzhjmg0QPcY\njV4lbka2UlkbSG3MtQHs9rZ3HXU4VLcVz5Y9t0iAyt4mu8V8GQ8CgeMiDisJ\n9mbal+79pfPFTxQ6zIOBE7XbQ9ZS9CUobWiXJDC6mPbArKf/zDmqOTrbgvK2\nWa2JIKzZiv2CY3RhRbXeLG7LoI/7DeUGrnIRDEkeoLqjXLPgRSHxFxangwYf\n0TFI\r\n=HkT4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3qri/dflqIfkG8e3jazPFKgece3CVtl3kRnQS+Ubd5QIhAPmXjzSCGMNlm98xPtNOBOqTS84L5pvwYhn6XMIO/epC"}]},"maintainers":[{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"}],"_npmUser":{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/alkitab_0.1.1_1589097733340_0.6552522483380487"},"_hasShrinkwrap":false}},"time":{"created":"2020-05-08T13:48:34.166Z","0.0.1":"2020-05-08T13:48:34.589Z","modified":"2022-04-04T13:57:09.917Z","0.0.2":"2020-05-08T13:54:21.855Z","0.1.0":"2020-05-09T04:54:38.352Z","0.1.1":"2020-05-10T08:02:13.485Z"},"maintainers":[{"name":"1darknight98","email":"joshua.lauwrich.98@gmail.com"}],"description":"Indonesian Holy Bible","homepage":"https://github.com/Anchovy-Studios/alkitab#readme","keywords":["alkitab","holy bible","bible","alkitab parser","indonesian bible"],"repository":{"type":"git","url":"git+https://github.com/Anchovy-Studios/alkitab.git"},"author":{"name":"Joshua Lauwrich Nandy"},"bugs":{"url":"https://github.com/Anchovy-Studios/alkitab/issues"},"license":"MIT","readme":"# alkitab\r\n\r\n![npm](https://img.shields.io/npm/v/@anchovy_studios/alkitab) ![GitHub issues](https://img.shields.io/github/issues/anchovy-studios/alkitab) ![NPM](https://img.shields.io/npm/l/@anchovy_studios/alkitab)\r\n\r\nHoly Bible in Indonesian.\r\n\r\n## Requirement\r\n\r\n[Node.js](https://nodejs.org/en/) 12.0.0 or higher\r\n\r\n## Installation\r\n\r\nInstallation is done using the npm install command:\r\n```bash\r\n$ npm install @anchovy_studios/alkitab\r\n```\r\n\r\n## Quick Start\r\n\r\n```javascript\r\nconst { Alkitab } = require('@anchovy_studios/alkitab')\r\n\r\n// create new instance\r\nconst myAlkitab = new Alkitab()\r\n\r\n// or using static method\r\nAlkitab.getVersion(true)\r\n```\r\n\r\n## Static Methods\r\n- [`getVersion(log)`](#getVersion)\r\n- [`getBookList(sorted)`](#getBookList)\r\n\r\n### `getVersion(log)` <a id=\"getVersion\"></a>\r\nGet the installed version of this library and the latest version from npm registry\r\n- `log` : if `true`, print and return the result to the console. if `false`, return only the result. The default value is `false`.\r\n\r\n```javascript\r\n// print also\r\nAlkitab.getVersion(true)\r\n\r\n//without print\r\nconsole.log(Alkitab.getVersion())\r\n```\r\nOUTPUT\r\n```bash\r\n// with log = true\r\nChecking npm registry ...\r\nHi ^-^\r\nYour current version is 0.0.1.\r\nThe latest version is 1.0.0. Consider updating your library with npm install command.\r\n\r\n// with log = false\r\n{\r\n  current: '0.0.1',\r\n  latest: '1.0.0',\r\n  message: 'Hi ^-^\\n' +\r\n    'Your current version is 0.0.1.\\n' +\r\n    'The latest version is \\u001b[33m1.0.0\\u001b[0m. Consider updating your library with \\u001b[32mnpm install\\u001b[0m command.'\r\n}\r\n```\r\n\r\n### `getBookList(sorted)` <a id=\"getBookList\"></a>\r\nGet the list of valid and available book that can be used in [`getVerse(book, chapter, verse, options)`](#getVerse), [`getVerseByQuery(query, options)`](#getVerseByQuery), or [`getVerseByOptions(options)`](#getVerseByOptions)\r\n- `sorted` : if `true`, get list in sorted order according the Bible order. `false` otherwise. The default value is false.\r\n\r\n```javascript\r\n// without sorted\r\nconsole.log(Alkitab.getBookList())\r\n\r\n// with sorted\r\nconsole.log(Alkitab.getBookList(true))\r\n```\r\n\r\nOUTPUT\r\n\r\n```bash\r\n// without sorted\r\n[\r\n  '1 Korintus',   '1 Petrus',         '1 Raja-raja',\r\n  '1 Samuel',     '1 Tawarikh',       '1 Tesalonika',\r\n  '1 Timotius',   '1 Yohanes',        '2 Korintus',\r\n  ...\r\n]\r\n\r\n// with sorted\r\n[\r\n  'Kejadian',     'Keluaran',         'Imamat',\r\n  'Bilangan',     'Ulangan',          'Yosua',\r\n  'Hakim-hakim',  'Rut',              '1 Samuel',\r\n  ...\r\n]\r\n```\r\n\r\n## Methods\r\n\r\n- [`getInstanceError()`](#getInstanceError) [**DEPRECATED**]\r\n- [`getAllErrors(formatted)`](#getAllErrors)\r\n- [`clearErrors(maxTime)`](#clearErrors)\r\n- [`getVerse(book, chapter, verse, options)`](#getVerse)\r\n- [`getVerseByQuery(query, options)`](#getVerseByQuery)\r\n- [`getVerseByOptions(options)`](#getVerseByOptions)\r\n\r\n### `getInstanceError()` (DEPRECATED) <a id=\"getInstanceError\"></a>\r\n**DEPRECATED since 0.1.0**\r\n\r\n**(Old)** Get all errors produce by this instance only. Returns an array of AlkitabException object.\r\n\r\n**(Now)** Returns an empty array\r\n\r\n```javascript\r\n// old\r\nconsole.log(myAlkitab.getInstanceError())\r\n\r\n//now\r\nconsole.log(myAlkitab.getInstanceError())\r\n```\r\n\r\nOUTPUT\r\n\r\n```\r\n// old\r\n[\r\n  AlkitabException:\r\n  Oopps!! Error detected!!\r\n  We're sorry we can not find the book of adf in our database. Please check again the book list on our home page or use Alkitab.getBookList() static method.\r\n  Cause: Book not found!\r\n  Native error: undefined\r\n  Time: Friday, May 08, 2020, 06:26:29 PM\r\n\r\n      at Alkitab.getAllErrors (E:\\alkitab\\app.js:90:29)\r\n      at Object.<anonymous> (E:\\alkitab\\app.js:167:15)\r\n      at Module._compile (internal/modules/cjs/loader.js:959:30)\r\n      at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)\r\n      ...\r\n]\r\n\r\n//now\r\n[]\r\n```\r\n\r\n### `getAllErrors(formatted, maxTime)` <a id=\"getAllErrors\"></a>\r\nGet all errors that ever happen since you install this library. The actual files can be found in `logs/`. The errors will be an instance of `AlkitabException` object. This method will delete all the log files from the beginning until the time specified in the parameter.\r\n\r\n- `formatted` : if `true` returns an array of `AlkitabException` object. if `false` returns an array of raw string error logs. The default value is false.\r\n- `maxTime` : the maximum time for log files to be deleted. The default value is now using the `new Date().getTime()` function. \r\n\r\n```javascript\r\nconsole.log(myAlkitab.getAllErrors())\r\nconsole.log(myAlkitab.getAllErrors(true))\r\n```\r\n\r\nOUTPUT\r\n\r\n```bash\r\n// with formatted = false\r\n[\r\n  \"Friday, May 08, 2020, 05:05:38 PM | We're sorry we can not find the book of adf in our database. Please check again the book list on our home page or use Alkitab.getBookList() static method. | Cause: Book not found! | Native error: undefined\",\r\n  \"...\",\r\n  ...\r\n]\r\n\r\n// with formatted = true\r\n[\r\n  AlkitabException:\r\n  Oopps!! Error detected!!\r\n  We're sorry we can not find the book of adf in our database. Please check again the book list on our home page or use Alkitab.getBookList() static method.\r\n  Cause: Book not found!\r\n  Native error: undefined\r\n  Time: Friday, May 08, 2020, 06:26:29 PM\r\n\r\n      at Alkitab.getAllErrors (E:\\alkitab\\app.js:90:29)\r\n      at Object.<anonymous> (E:\\alkitab\\app.js:167:15)\r\n      at Module._compile (internal/modules/cjs/loader.js:959:30)\r\n      at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)\r\n      ...\r\n  },\r\n```\r\n\r\n### `clearErrors(maxTime)` <a id=\"clearErrors\"></a>\r\nClear all error within the `/logs` folder until the specified time.\r\n\r\n- `maxTime` : an integer value represent the millisecond time. Use the `Date.getTime()` function to get this value. The default value is now using the `new Date().getTime()` function.\r\n\r\n```javascript\r\nconsole.log(myAlkitab.clearErrors(new Date('2020-05-01').getTime()))\r\n```\r\n\r\nOUTPUT\r\n\r\n```bash\r\n[\r\n  '1838900000000.log',\r\n  '1839000000000.log',\r\n  ...\r\n]\r\n```\r\n\r\n### `getVerse(book, chapter, verse, options)` <a id=\"getVerse\"></a>\r\n\r\nGet one verse (as a string) or all verses within a chapter (as an array of stirng) with the specified parameters.\r\n\r\n- `book` : a string for the Book. Use `getListBook()` to see all Book option. Make sure the string match exactly with the string from `getListBook()`.\r\n- `chapter` : a number (or a string but can be converted to number) for the chapter of the book\r\n- `verse` : a number (or a string but can be converted to number) and can be filled with `false` or `undefined` to get all the verses in the chapter.\r\n- `options` : an object for extra option that contains any of these attribute\r\n  - `fromEn` : Set this to true to receive the verse in Indonesian if the book is in English.\r\n\r\nThrow `AlkitabException` for every invalid parameters.\r\n\r\n```javascript\r\nconsole.log(myAlkitab.getVerse('Matius', '1', '1'))\r\nconsole.log(myAlkitab.getVerse('Matius', '1'))\r\n// will throw an error\r\nconsole.log(myAlkitab.getVerse('matius', '1'))\r\n```\r\n\r\nOUTPUT\r\n\r\n```bash\r\n// one verse\r\nInilah silsilah Yesus Kristus, anak Daud, anak Abraham.\r\n\r\n// one chapter\r\n[\r\n  'Inilah silsilah Yesus Kristus, anak Daud, anak Abraham.',\r\n  'Abraham memperanakkan Ishak, Ishak memperanakkan Yakub, Yakub memperanakkan Yehuda dan saudara-saudaranya,',\r\n  'Yehuda memperanakkan Peres dan Zerah dari Tamar, Peres memperanakkan Hezron, Hezron memperanakkan Ram,',\r\n  'Ram memperanakkan Aminadab, Aminadab memperanakkan Nahason, Nahason memperanakkan Salmon,',\r\n  'Salmon memperanakkan Boas dari Rahab, Boas memperanakkan Obed dari Rut, Obed memperanakkan Isai,',\r\n  ...\r\n]\r\n\r\n// error\r\nAlkitabException:\r\nOopps!! Error detected!!\r\nWe're sorry we can not find the book of matius in our database. Please check again the book list on our home page or use Alkitab.getBookList() static method.\r\nCause: Book not found!\r\nNative error: undefined\r\nTime: Friday, May 08, 2020, 06:49:52 PM\r\n\r\n    at Alkitab.#parseVerse (E:\\alkitab\\app.js:45:19)\r\n    at Alkitab.getVerse (E:\\alkitab\\app.js:57:32)\r\n...\r\n```\r\n\r\n### `getVerseByQuery(query, options)` <a id=\"getVerseByQuery\"></a>\r\n\r\nGet one verse (as a string) or all verses within a chapter (as an array of stirng) with the full query string. The string must exactly match this format : `<book>(space)<chapter>:<verse>`\r\n\r\n- `query` : a query string that match the above format.\r\n- `options` : an object for extra option that contains any of these attribute\r\n  - `fromEn` : Set this to true to receive the verse in Indonesian if the book is in English.\r\n\r\nThrow `AlkitabException` for every invalid parameters.\r\n\r\n```javascript\r\nmyAlkitab.getVerseByQuery('Exodus 1:1', {fromEn: true})\r\n\r\n// this will cause error because fromEn options was not set\r\nmyAlkitab.getVerseByQuery('Exodus 1')\r\n```\r\n\r\nOUTPUT\r\n\r\n```bash\r\nInilah nama para anak Israel yang datang ke Mesir bersama-sama dengan Yakub; mereka datang dengan keluarganya masing-masing:\r\n\r\n// error\r\nAlkitabException:\r\nOopps!! Error detected!!\r\nWe're sorry we can not find the book of Exodus in our database. Please check again the book list on our home page or use Alkitab.getBookList() static method.\r\nCause: Book not found!\r\nNative error: undefined\r\nTime: Friday, May 08, 2020, 06:58:05 PM\r\n...\r\n```\r\n\r\n### `getVersionByOptions(options)` <a id=\"getVerseByOptions\"></a>\r\n\r\nGet one verse (as a string) or all verses within a chapter (as an array of stirng) with the specified parameters as options. \r\n\r\n- `options` : an object for extra option that contains any of these attribute\r\n  - `fromEn` : Set this to true to receive the verse in Indonesian if the book is in English.\r\n  - `book` : a string for the Book. Use `getListBook()` to see all Book option. Make sure the string match exactly with the string from `getListBook()`.\r\n  - `chapter` : a number (or a string but can be converted to number) for the chapter of the book\r\n  - `verse` : a number (or a string but can be converted to number) and can be filled with `false` or `undefined` to get all the verses in the chapter.\r\n\r\n```javascript\r\nmyAlkitab.getVerseByOptions({book: 'Mazmur', chapter: '3', verse: '1'})\r\n```\r\n\r\nOUTPUT\r\n\r\n```bash\r\nMazmur Daud, ketika ia lari dari Absalom, anaknya. (3-2) Ya TUHAN, betapa banyaknya lawanku! Banyak orang yang bangkit menyerang aku;\r\n```\r\n\r\n## Change History\r\n[CHANGELOG](CHANGELOG)\r\n\r\n## License\r\n\r\n[MIT](LICENSE)\r\n","readmeFilename":"README.md"}