{"_id":"-price-checker","_rev":"3-c1938f33fe7ea5c19d99da0a3d0475ba","name":"-price-checker","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.3":{"name":"-price-checker","version":"1.0.3","description":"check  price","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"zsq77"},"license":"ISC","dependencies":{"axios":"^1.6.7","btc-price-checker":"^1.0.2","chalk":"^5.3.0","eth-price-checker":"^1.0.0","shell-oooooyoung":"^1.1.9","sol-price-checker":"^1.0.2"},"repository":{"type":"git","url":"git+https://github.com/zsq77/strk-price-check.git"},"bugs":{"url":"https://github.com/zsq77/strk-price-check/issues"},"homepage":"https://github.com/zsq77/strk-price-check/blob/main/README.md","_id":"-price-checker@1.0.3","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-Dw9wLC4U4MCjGM+GkdKXdCG9pNmbAyv5v1iJIJeoY8mex2z+dxrqk9NXJjQRARqJhIs1BVlC/ouHfZo/A+8vZA==","shasum":"cf83bac6166734032da4884ca32bf8ee1f74071e","tarball":"https://registry.npmjs.org/-price-checker/-/-price-checker-1.0.3.tgz","fileCount":4,"unpackedSize":2773,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkc+7o4iyHLyEuQLnlnCNfh10jVQwSD786Apq/CtUOGQIhAPRE2u2hzhhFXB4pH2Fy2conYDofKsO6Q6WmR/cLdFE9"}]},"_npmUser":{"name":"xiaoxiaoweb3","email":"chenxiaoxiaoying@gmail.com"},"directories":{},"maintainers":[{"name":"xiaoxiaoweb3","email":"chenxiaoxiaoying@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/-price-checker_1.0.3_1710382472402_0.8163124383218892"},"_hasShrinkwrap":false},"1.0.4":{"name":"-price-checker","version":"1.0.4","description":"check  price","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"zsq77"},"license":"ISC","dependencies":{"axios":"^1.6.7","btc-price-checker":"^1.0.2","chalk":"^5.3.0","eth-price-checker":"^1.0.0","shell-oooooyoung":"^1.1.9","sol-price-checker":"^1.0.2"},"repository":{"type":"git","url":"git+https://github.com/zsq77/strk-price-check.git"},"bugs":{"url":"https://github.com/zsq77/strk-price-check/issues"},"homepage":"https://github.com/zsq77/strk-price-check/blob/main/README.md","_id":"-price-checker@1.0.4","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-hQeJAEIuoOA63OyyJDtQk8g3Vq6BGLAI5mofVoNBB/y+SoVWrdMpEXTvszPF8JVOXsxOxCPC1bDonHyiMh8WYw==","shasum":"aa224f2d152704b50a6eb8464bc6cfdd734ec67d","tarball":"https://registry.npmjs.org/-price-checker/-/-price-checker-1.0.4.tgz","fileCount":4,"unpackedSize":2773,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID4oO3153g5M4BoBSRdCA5ODwisXk7LhrxHz18vpFp6XAiEA+hmLcCEI3iOorJ/W4n9bF1morjkNyrNh0rKabAbTCoY="}]},"_npmUser":{"name":"xiaoxiaoweb3","email":"chenxiaoxiaoying@gmail.com"},"directories":{},"maintainers":[{"name":"xiaoxiaoweb3","email":"chenxiaoxiaoying@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/-price-checker_1.0.4_1710382502167_0.07976389284482699"},"_hasShrinkwrap":false},"1.0.5":{"name":"-price-checker","version":"1.0.5","description":"check  price","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"zsq77"},"license":"ISC","dependencies":{"axios":"^1.6.7","bnb-price-checker":"^1.0.3","btc-price-checker":"^1.0.2","chalk":"^5.3.0","eth-price-checker":"^1.0.0","shell-oooooyoung":"^1.1.9","sol-price-checker":"^1.0.2"},"repository":{"type":"git","url":"git+https://github.com/zsq77/strk-price-check.git"},"bugs":{"url":"https://github.com/zsq77/strk-price-check/issues"},"homepage":"https://github.com/zsq77/strk-price-check/blob/main/README.md","_id":"-price-checker@1.0.5","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-f5aAFqi3eOGLfpFbbnh2X5Q9bRmWG8b/ImLyj09DOv/Jb3d2J6InFDY2PBzEutal/dUoxS59FxRiq7X6FNVEjg==","shasum":"519db2778a313abb3e440296998b66da0899b2bd","tarball":"https://registry.npmjs.org/-price-checker/-/-price-checker-1.0.5.tgz","fileCount":4,"unpackedSize":2808,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3TnCbRKt4gXXljws8eAOOThZwezXFqQt4UszoAZbP3AIgVkUNVn/0h0P6dlMIsS1r1VPRMZnl3vOIMz1lILjxeP8="}]},"_npmUser":{"name":"xiaoxiaoweb3","email":"chenxiaoxiaoying@gmail.com"},"directories":{},"maintainers":[{"name":"xiaoxiaoweb3","email":"chenxiaoxiaoying@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/-price-checker_1.0.5_1710382536013_0.14362766900303425"},"_hasShrinkwrap":false},"1.0.0":{"name":"-price-checker","version":"1.0.0","description":"check  price","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"zsq77"},"license":"ISC","dependencies":{"axios":"^1.6.7","bnb-price-checker":"^1.0.3","btc-price-checker":"^1.0.2","chalk":"^5.3.0","eth-price-checker":"^1.0.0","shell-oooooyoung":"^1.1.9","sol-price-checker":"^1.0.2"},"repository":{"type":"git","url":"git+https://github.com/zsq77/strk-price-check.git"},"bugs":{"url":"https://github.com/zsq77/strk-price-check/issues"},"homepage":"https://github.com/zsq77/strk-price-check/blob/main/README.md","_id":"-price-checker@1.0.0","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-QY9GTRyq3cDgJ3XbaHWb9EA2Wsz1J2WjaCxsWmGnunb7js85ccsL3CwKLUyCwcA853nhyxMpZGvjFigNcpAYNA==","shasum":"5b8db4245b06f5f32809eedecfcec34011838b6c","tarball":"https://registry.npmjs.org/-price-checker/-/-price-checker-1.0.0.tgz","fileCount":4,"unpackedSize":2813,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOyEv83ryEL1DlJh//v6zZoO9yVcxcv9S+psgTmpCNpQIgBACaZa57myb4iL4lPOI4SJ2wvMiRuUfTRdBFNRxFFZE="}]},"_npmUser":{"name":"xiaoxiaoweb3","email":"chenxiaoxiaoying@gmail.com"},"directories":{},"maintainers":[{"name":"xiaoxiaoweb3","email":"chenxiaoxiaoying@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/-price-checker_1.0.0_1710382903358_0.44084130447619296"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-14T02:14:32.402Z","1.0.3":"2024-03-14T02:14:32.544Z","modified":"2024-03-14T02:21:43.914Z","1.0.4":"2024-03-14T02:15:02.328Z","1.0.5":"2024-03-14T02:15:36.159Z","1.0.0":"2024-03-14T02:21:43.501Z"},"maintainers":[{"name":"xiaoxiaoweb3","email":"chenxiaoxiaoying@gmail.com"}],"description":"check  price","homepage":"https://github.com/zsq77/strk-price-check/blob/main/README.md","repository":{"type":"git","url":"git+https://github.com/zsq77/strk-price-check.git"},"author":{"name":"zsq77"},"bugs":{"url":"https://github.com/zsq77/strk-price-check/issues"},"license":"ISC","readme":"```\r\n#  Price Checker\r\n\r\n[![npm version](https://img.shields.io/npm/v/-price-checker.svg?style=flat-square)](https://www.npmjs.com/package/-price-checker)\r\n\r\nA simple package to retrieve the current price of Bitcoin ().\r\n\r\n## Installation\r\n\r\nInstall the package using npm:\r\n\r\n```\r\nnpm install -price-checker\r\n```\r\n\r\n## Usage\r\n\r\nTo use the package, you need to import it:\r\n\r\n```javascript\r\nconst ethPriceChecker = require('-price-checker');\r\n```\r\n\r\nThen, you can call the `getETHPrice()` function to retrieve the current price of Bitcoin:\r\n\r\n```javascript\r\nethPriceChecker.getEthPrice()\r\n  .then(price => {\r\n    console.log(`The current price of Bitcoin is $${price}`);\r\n  })\r\n  .catch(error => {\r\n    console.error('Error fetching  price:', error);\r\n  });\r\n```\r\n\r\n## API Documentation\r\n\r\nThe package provides the following function:\r\n\r\n### `getEthPrice()`\r\n\r\nThis function fetches the current price of Bitcoin from a reliable data source. It returns a Promise that resolves to the current price in USD.\r\n\r\n## Examples\r\n\r\nHere's an example of how to use the `getEthPrice()` function:\r\n\r\n```javascript\r\nconst ethPriceChecker = require('-price-checker');\r\n\r\nethPriceChecker.getEthPrice()\r\n  .then(price => {\r\n    console.log(`The current price of  is $${price}`);\r\n  })\r\n  .catch(error => {\r\n    console.error('Error fetching  price:', error);\r\n  });\r\n```\r\n\r\n## Contributing\r\n\r\nIf you wish to contribute to this package, you can follow the guidelines in CONTRIBUTING.md file.\r\n\r\n## License\r\n\r\nThis package is licensed under the MIT License.\r\n```","readmeFilename":"README.md"}