{"_id":"@azahinhasan/age-calculator","_rev":"14-fc2150ddab2cd3754674a72d5192af8b","name":"@azahinhasan/age-calculator","dist-tags":{"latest":"1.2.2"},"versions":{"1.0.8":{"name":"@azahinhasan/age-calculator","version":"1.0.8","keywords":["calculator","date","age"],"author":{"name":"Ashak Zahin Hasan","email":"azahinhasan@gmail.com"},"license":"MIT","_id":"@azahinhasan/age-calculator@1.0.8","maintainers":[{"name":"azahinhasan","email":"azahinhasan@gmail.com"}],"homepage":"https://github.com/azahinhasan/age_calculator_npm_package#readme","bugs":{"url":"https://github.com/azahinhasan/age_calculator_npm_package/issues"},"dist":{"shasum":"9d234ec4b4a4ec161101d3918d530ee9ce95a6ee","tarball":"https://registry.npmjs.org/@azahinhasan/age-calculator/-/age-calculator-1.0.8.tgz","fileCount":5,"integrity":"sha512-IRgle7DAi8iuPbwZH+G1X/UuTajPjybj3TnwsNf92UgK8PDFqggHkLoFTdMD1J6JlgtBzDdd/07xDZaGs7d5rw==","signatures":[{"sig":"MEUCIQCqIKzR3mF0Z8FSd/T93qWhcmO8jtTDHjed1+c2Osx0xwIgYVaJIzP91KekIUSS8UB0VxOaE5GohbX35wNHRL0TP48=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjW/mYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOtxAAjYd485jqSd8lOinqlkB8GrqekH6L4Y4epHhEhGPFucQ9V8EM\r\nrXUR4eyZN9Jm5lR5A+ZO0FugeZQx8hBl2tJ6mSNING/igvX6VHD9veCWTbdD\r\nax0pft9t0MqY2i73dAQri6m+4yoqNnOdmRzOFzswpMHgH9du1gzXpBVWhFC+\r\ntj4/rSbHEeQIXAfeb9iA5M6e8lCAMaW240tUSKLbvIAgA6qnBLW29vek+DSV\r\nAemLu1+n1iZFZR1yPRUPyNRopJVuzdRRcoN/cqhxUa1sa2P8BsbC5a44jLwz\r\nghmSbnsXbSD0/yOd7ba8JRtfSxZFoKI44PAruYfiolCEuJZjtfHg2+mJWmC7\r\nDJhJ2++PeXQGgx9bJYMcj/lrvzgVQxDd0LEUWzJgRE5bl3+v1K+JznWxttZH\r\nBAVxrZe/V/Ip9CN2KUAnm8B5XgO8GqU8FsUMPYL8IIabXNwobIaY+bN4p2iZ\r\nqTgfSCy5CbZgml0zvpaFBMN8L7RcBCRSbz7cBbgaUqaAvaYrAjr8aeshhSeB\r\nC5Z7mze+eJvKlhqHWi3tENcPA9Zm9Hg3ap/PS79F1v1JqdV5Mdi7njwaMe+j\r\nEvRD0F96VKmqpmgUYs1ohfQ4jbGX1gRFRk76dD0+RSTCotDZO0Eswcu9g7+P\r\nHdzJ3mFGFe7YtF2dWBzdMZmu2ShxuxORgcs=\r\n=0fwX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"33de5cbf5b8b893396777a8705287d22c4bac6ec","_npmUser":{"name":"azahinhasan","email":"azahinhasan@gmail.com"},"repository":{"url":"git+https://github.com/azahinhasan/age_calculator_npm_package.git","type":"git"},"_npmVersion":"8.15.0","description":"","directories":{},"_nodeVersion":"16.17.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/age-calculator_1.0.8_1666972055964_0.365599398287076","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"@azahinhasan/age-calculator","version":"1.0.9","keywords":["calculator","date","age"],"author":{"name":"Ashak Zahin Hasan","email":"azahinhasan@gmail.com"},"license":"MIT","_id":"@azahinhasan/age-calculator@1.0.9","maintainers":[{"name":"azahinhasan","email":"azahinhasan@gmail.com"}],"homepage":"https://github.com/azahinhasan/age_calculator_npm_package#readme","bugs":{"url":"https://github.com/azahinhasan/age_calculator_npm_package/issues"},"dist":{"shasum":"73ea6983255fceb95b82e434144cc7b139757779","tarball":"https://registry.npmjs.org/@azahinhasan/age-calculator/-/age-calculator-1.0.9.tgz","fileCount":5,"integrity":"sha512-rcYWGFfzOKZj+fTB/OJkQ2BSzXqWHwElXiX4L3ppCoEgCKD/zRp4MdPSiKdlTX/mhFS5tXN7n4A54U7UK1aamA==","signatures":[{"sig":"MEYCIQCiTfQPSv9nAW+0kKeSTj2XZyVB0kBdMq6jmn4/mavItgIhAMqHRyfVJZzVTOAr5Dn5Bi9Is7PksXtTbgW70MkZE15J","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjW/5BACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoryBAAk/nFUb6iAHxVLSCyOlXZE1RXKhWbXAtq1iQDkhawUg4jmAo9\r\n9o/3sIfoHMIU6cQ5hurvux8CnOyPSkguY+R/gFTHVJgUCPnyjdnZcJfd4drk\r\nD7yBX8MR710UFTSPvpldZTX/KA8X6kd3/56r6FlOlrP/Xyu8eg1soApF0wgp\r\nDjVjdg9g41Q+NyfoWM/CPYMwotz53F1hnGQzH5ZL7qUFNem5vzd0wI8RU44N\r\nTg7aPqdYjbwFCkuhgiRR4KfQHP+NMn6qghHUPpeoF1HWijwnXFu8PoI3zv6V\r\nCawg0Amt63KusIPKYFgGu3lo19aYPayJlL4EphuiiAC281pi1+LcTohCntKL\r\nOwbnwkw/AW/YeF0bT7/SHPVG3riMgFQIozQHqjaAYIHL0BcpJEuk1oPxj9yH\r\nyG5OqSfJ4vWKir4ELd6OehHtHH5hAVAXTrcmegMoCsPg24WWpGwEgqiHWPFg\r\nul84MRMFOqDX0YlchvOXMUQHLKirsSffkZYeNhesHTCLePt5R4xiOtJJBj3w\r\n7drCVBZLlqxsrgn9zNQ/GmvyuXwALoMXbjR+cHHOg7n9Ja/y8dK8rDM2mn6i\r\nXCzoDaemNoCrkZOgkFN8BAchswD8R1yn2+FMVWE2/7k3rWiD1qCEvFzP1q28\r\nS7JXIG3yHm/o+6wJO5l5y1XeAuZJHt+dgIA=\r\n=PW30\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"./index.js","gitHead":"c43d93abad5eab29dd41c52ddc8f3865c628054b","_npmUser":{"name":"azahinhasan","email":"azahinhasan@gmail.com"},"repository":{"url":"git+https://github.com/azahinhasan/age_calculator_npm_package.git","type":"git"},"_npmVersion":"8.15.0","description":"","directories":{},"_nodeVersion":"16.17.1","_hasShrinkwrap":false,"compilerOptions":{"declaration":true},"_npmOperationalInternal":{"tmp":"tmp/age-calculator_1.0.9_1666973249162_0.4584006265024063","host":"s3://npm-registry-packages"}},"1.0.10":{"name":"@azahinhasan/age-calculator","version":"1.0.10","keywords":["calculator","date","age"],"author":{"name":"Ashak Zahin Hasan","email":"azahinhasan@gmail.com"},"license":"MIT","_id":"@azahinhasan/age-calculator@1.0.10","maintainers":[{"name":"azahinhasan","email":"azahinhasan@gmail.com"}],"homepage":"https://github.com/azahinhasan/age_calculator_npm_package#readme","bugs":{"url":"https://github.com/azahinhasan/age_calculator_npm_package/issues"},"dist":{"shasum":"4d660b7c840ef74a93dea1d02f8ff1981cb42cea","tarball":"https://registry.npmjs.org/@azahinhasan/age-calculator/-/age-calculator-1.0.10.tgz","fileCount":5,"integrity":"sha512-i5aPlXKYy7NiMnuSLTk2IZChOzE39dn/WZQpTMtsc/QfN43P44B4w1+XiZH3Tbd4hAW8ZLApST6O07nIncXEdw==","signatures":[{"sig":"MEUCIA7k9VWCE2/knhiAUYUg6BIINMpkDQZKpJpi/WUqJPefAiEApJ8NYrQWHnHzIBjkD0ecmcUz4ewR1WMFUvKNLCIwPyg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjXNHtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUSg/+OQI+OZ/8bflZ+r6J1KoSJwuX6hVktbfCWL/TqlZRx02qjg/1\r\nQF2mXcGSOF3+ppS8XCV6sIETphZ2zAwUZv4QnGUDxsaRn/EtybT9lsHX7sXM\r\nWcO2wxSax+olmzj0Syvcyo296k1AlGarWAYnfJFBuweV724JVtaofl2gkofK\r\n6LVr61uUj2XLGUYwp2MGlKVdkRpxAzTkOc2xRQqGfY1x1vTnDU6VO1Z9F26D\r\n2w7RSnYxuWPBEmXGQPy/ah49P8Ufn+vCibI8fUCeY7E9+x1gKTcLkg4i+4n+\r\n7P4aXnG1NDklR/wvo62uVTzLmjCX8HGXukwchTXz3jNyChAktom1X2YiruiI\r\n1xjFkCvMSPt0ui9Cg6Tarp0mnLNrLEZIKNYFehT4YIwfCIUHltY+Z+bj+myR\r\ngeYoBrsfv+xmVwSCZolT5LE33wOINS91Uk/JR4/BHTRakctIqRbwLcrEmvWM\r\nj6lO0SibW2XiDqrv4SWH7QdL/M66GKtsiXT7JM1v8iA7blZH3Hksyudmvi0Q\r\n8SNXwPNz6mINl70a5Rp92fne2yNxTrNTHfNm4hqzjz/UledbIh9oPlgpPXBg\r\nupwEuwcMWm6kwrd42OjHTXh9z+wmjQTtcnTBmXPh57ApdTtZ2KQ8pAWaK2Jp\r\nOxT8wgrzYuOAWUWXeAce6dpBuMAtXPJ3AWE=\r\n=CuUf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.js","gitHead":"99fd73f6d0a17b0e0e2ad39d568ba89e997add5c","_npmUser":{"name":"azahinhasan","email":"azahinhasan@gmail.com"},"repository":{"url":"git+https://github.com/azahinhasan/age_calculator_npm_package.git","type":"git"},"_npmVersion":"8.15.0","description":"You can use this package for converting or finding out Age from Date of Birth, Date of Birth from Age, or the difference between two Dates or Dates of Birth.","directories":{},"_nodeVersion":"16.17.1","_hasShrinkwrap":false,"compilerOptions":{"declaration":true},"_npmOperationalInternal":{"tmp":"tmp/age-calculator_1.0.10_1667027437690_0.48154593517440625","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@azahinhasan/age-calculator","version":"1.2.0","keywords":["calculator","date","age","date-different"],"author":{"name":"Ashak Zahin Hasan","email":"azahinhasan@gmail.com"},"license":"MIT","_id":"@azahinhasan/age-calculator@1.2.0","maintainers":[{"name":"azahinhasan","email":"azahinhasan@gmail.com"}],"homepage":"https://github.com/azahinhasan/age_calculator_npm_package#readme","bugs":{"url":"https://github.com/azahinhasan/age_calculator_npm_package/issues"},"dist":{"shasum":"c0545680a450a946e19534081e7c2eca79ba9519","tarball":"https://registry.npmjs.org/@azahinhasan/age-calculator/-/age-calculator-1.2.0.tgz","fileCount":9,"integrity":"sha512-wdkOtz0WoDgrq50MgyQJH9k4qkp9TwYDZ8gx2ybBo+xapQ8hJrk4g4X6laGMJ4Qj5PX+SS4cGHgwmwZl6C8jtw==","signatures":[{"sig":"MEYCIQDq2DsH878zSx1ieCgI+Q7RNhKyFf14O58Es3iGVgEqUAIhANLdihway7CQwtaK1RVYPcOqXwJZAhYlcQzPBtvLwnli","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6519},"main":"index.js","types":"index.js","gitHead":"393b0d4c754adbaae5970cd931c6c4d69d4816ef","_npmUser":{"name":"azahinhasan","email":"azahinhasan@gmail.com"},"repository":{"url":"git+https://github.com/azahinhasan/age_calculator_npm_package.git","type":"git"},"_npmVersion":"8.19.4","description":"This package provides easy-to-use utilities for calculating age from a date of birth and determining date of birth from a given age. Perfect for seamless date calculations in your projects. # ### ✅Functions - `ageIs`:  This function takes two parameters, ","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"compilerOptions":{"declaration":true},"_npmOperationalInternal":{"tmp":"tmp/age-calculator_1.2.0_1722583099690_0.6123298203056871","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@azahinhasan/age-calculator","version":"1.2.1","keywords":["calculator","date","age","date-different"],"author":{"name":"Ashak Zahin Hasan","email":"azahinhasan@gmail.com"},"license":"MIT","_id":"@azahinhasan/age-calculator@1.2.1","maintainers":[{"name":"azahinhasan","email":"azahinhasan@gmail.com"}],"homepage":"https://github.com/azahinhasan/age_calculator_npm_package#readme","bugs":{"url":"https://github.com/azahinhasan/age_calculator_npm_package/issues"},"dist":{"shasum":"4121cd8296e9e004d71936cf77f12a9398197579","tarball":"https://registry.npmjs.org/@azahinhasan/age-calculator/-/age-calculator-1.2.1.tgz","fileCount":9,"integrity":"sha512-489B9K3mRbHoSrZCMbkrZMQtKyLe5K4mg33xHYEAli0C1LrBf5uL8IGe6aeyq/JyWckho/wj8PcqM9K8oZv3JA==","signatures":[{"sig":"MEQCIHaoeggp/MlfLT2jBgOVoTOo53fiJWHkeoLzx8UbYYmDAiAxC7FWkJHcMp/n+LcaPuXEWr/Rg1S3t7ARp4GeB9AbiQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6809},"main":"index.js","types":"index.js","gitHead":"875fa5be27f6c183d195bd84838b78be2db10b51","_npmUser":{"name":"azahinhasan","email":"azahinhasan@gmail.com"},"repository":{"url":"git+https://github.com/azahinhasan/age_calculator_npm_package.git","type":"git"},"_npmVersion":"8.19.4","description":"This package provides easy-to-use utilities for calculating age from a date of birth and determining date of birth from a given age. Perfect for seamless date calculations in your projects. # ### ✅Functions - `ageIs`:  This function takes two parameters, ","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"compilerOptions":{"declaration":true},"_npmOperationalInternal":{"tmp":"tmp/age-calculator_1.2.1_1722589553234_0.0377390882510118","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@azahinhasan/age-calculator","version":"1.2.2","description":"This package provides easy-to-use utilities for calculating age from a date of birth and determining date of birth from a given age. Perfect for seamless date calculations in your projects.","main":"index.js","private":false,"homepage":"https://github.com/azahinhasan/age_calculator_npm_package#readme","keywords":["calculator","date","age","date-different"],"author":{"name":"Ashak Zahin Hasan"},"license":"MIT","scripts":{"start":"node index.js"},"repository":{"type":"git","url":"git+https://github.com/azahinhasan/age_calculator_npm_package.git"},"gitHead":"4c7447554cbf00c56e89c8e81832f99034e0e5b3","bugs":{"url":"https://github.com/azahinhasan/age_calculator_npm_package/issues"},"_id":"@azahinhasan/age-calculator@1.2.2","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-aB8Tbc8qwmOpE27HkBxerlCuYq3b+LLlnfg7d5bX4X9uZKVtwy5mGw4INbdkv/7wRwHJeDZkgBDmjSpt7i3mZw==","shasum":"db8b0da9a6330dec8367e0befb24ef78dc1fadcb","tarball":"https://registry.npmjs.org/@azahinhasan/age-calculator/-/age-calculator-1.2.2.tgz","fileCount":9,"unpackedSize":7049,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUYJXdWSWwdp/UivB3ZVf3kq51DeoGRj3t4K+6w6PP8wIgT+Ap5SsEvkxFffYE0LeOkFhVQwYZrbuQW4scetTVUEE="}]},"_npmUser":{"name":"azahinhasan","email":"azahinhasan@gmail.com"},"directories":{},"maintainers":[{"name":"azahinhasan","email":"azahinhasan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/age-calculator_1.2.2_1722591333561_0.8593807758924374"},"_hasShrinkwrap":false}},"time":{"created":"2022-10-28T15:47:35.889Z","modified":"2024-08-02T09:35:33.882Z","1.0.0":"2022-10-28T04:34:40.583Z","1.0.2":"2022-10-28T04:38:36.933Z","1.0.3":"2022-10-28T07:23:40.065Z","1.0.4":"2022-10-28T14:48:30.452Z","1.0.5":"2022-10-28T15:24:26.945Z","1.0.8":"2022-10-28T15:47:36.131Z","1.0.9":"2022-10-28T16:07:29.330Z","1.0.10":"2022-10-29T07:10:37.848Z","1.2.0":"2024-08-02T07:18:19.837Z","1.2.1":"2024-08-02T09:05:53.370Z","1.2.2":"2024-08-02T09:35:33.706Z"},"bugs":{"url":"https://github.com/azahinhasan/age_calculator_npm_package/issues"},"author":{"name":"Ashak Zahin Hasan"},"license":"MIT","homepage":"https://github.com/azahinhasan/age_calculator_npm_package#readme","keywords":["calculator","date","age","date-different"],"repository":{"type":"git","url":"git+https://github.com/azahinhasan/age_calculator_npm_package.git"},"description":"This package provides easy-to-use utilities for calculating age from a date of birth and determining date of birth from a given age. Perfect for seamless date calculations in your projects.","maintainers":[{"name":"azahinhasan","email":"azahinhasan@gmail.com"}],"readme":"\n\nThis package provides easy-to-use utilities for calculating age from a date of birth and determining date of birth from a given age. Perfect for seamless date calculations in your projects.\n#\n### ✅Functions\n- `ageIs`:  This function takes two parameters, both in date format. The first parameter is required and represents the Date of Birth (DOB). The second parameter is optional and specifies the date from which the age will be calculated. If the second parameter is not provided, the function will calculate the age from the current date to the DOB. The function returns `the age or time different in an object format`.\n- `dobIs`: This function takes two parameters. The first parameter is required and should be the age in object format. The second parameter is optional and represents the date from which the calculation will start. If the second parameter is not provided, the calculation will default to the current date. The function returns `the Date of Birth in date format`. \n#\n\n###  ✒️Example\n\n```Javascript\nconst  {ageIs,dobIs} = require('@azahinhasan/age-calculator')\n\nageIs('05/05/2021','05/05/2022') \nageIs('05/05/2021') \n\ndobIs({year:1,month:12,day:0},'11/17/2021')\ndobIs({year:1,day:0})\n```\n```Javascript\nimport {ageIs} from '@azahinhasan/age-calculator'\n\nageIs(\"8/3/2024\")\n```\n`🛑 P.S. please give valid date. Such as: MM/DD/YYYY(if string format) or 2024-07-26T18:00:00.000Z.`\n","readmeFilename":"README.md"}