{"_id":"@adekoreday/crypto-dip-alert","_rev":"2-7e02c0d4579f406e21dad2581077fa48","name":"@adekoreday/crypto-dip-alert","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.9":{"name":"@adekoreday/crypto-dip-alert","version":"0.0.9","description":"A CLI tool that notifies you, when the price of a crypto goes down past a threshold","main":"index.js","bin":{"crypto-dip-alert":"index.js"},"preferGlobal":true,"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"mykeels"},"license":"MIT","private":false,"dependencies":{"chalk":"^4.0.0","commander":"^5.0.0","dotenv":"^8.2.0","isomorphic-fetch":"^2.2.1","mailgun-js":"^0.22.0","messaging-api-telegram":"^0.8.2","nodemailer":"^6.4.6","open-file-text-editor":"0.0.1"},"_id":"@adekoreday/crypto-dip-alert@0.0.9","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"integrity":"sha512-VeCxIitcxNpPU46GyampRFNsRKNF4TQJ8AwzJGlvsL95dNa8DHlY/E+ZRt1kgC7qLzfKgY9kcRtlrpQTWELKPw==","shasum":"82fbfbe52da166d726636438c68d4ef3d0633670","tarball":"https://registry.npmjs.org/@adekoreday/crypto-dip-alert/-/crypto-dip-alert-0.0.9.tgz","fileCount":12,"unpackedSize":12462,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuExSCRA9TVsSAnZWagAA//8P/jlEsLndneBqVwYX1p5b\n+x2bODb/ZT4BHLhgIrE7/XJHrcHdTI/n36MDsBwEBpBrRzm6PgxCrRMtRz8p\nsEOpRxMZD9J1u3DFS6HeRBLmYFxpH6dyDOyBT8iwDiNGFGvD/qltLJNZHISq\nm/LHTG3/fC9Zb5fn0gCDPBzTJ23dbF3gl/E9CeXuhqKJRLOLhzIxlAzFlCoC\nBDqOjkZZ6VUbmstgZaAyQWEXLMky81NJAGvOD21cyqEoAKEQo9yObRvMPxmR\n0vj5YznFYahCjcABIBvpKX61i3ZHAPi2TXilYGWIviJrQMzCU9i8w+n9YwvF\ntaQMAKs7qPs/UXl9C5JLdNgggbxXmiYvLNtAIGkUK9YfRjDOI0ns8ZwUGRMb\n07T0Cqw3ClVmfrAfZMuhGoA/ntXY2I0sXrn6+vzCXRc50YeNmqTZbipJxTIw\nBkmyZ8kGcjAKaUWNFuGItxShZwWJi0Rcy76fEOIK+jXsdnVWUMh4v7A8FTS7\nbMex3UUQPTy/LvAVfLALz8bUQXqt7uKZNEqLo+Ip7DAcZDw3xWBvHHrErqxB\nvFKm3aalcADR3EGWXZBrxH3Iocv06x/odyMp+fj5ogqBau+a+K99Ji1LTvpR\nD6ns3CuZHa8kJfdqgo+UK7XnwzWAaXU74PPEftlzC/pKhOU0a7yEHXEcZT2G\n7QpY\r\n=Opbe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFCsRT6n/HmKAgQWgpJ1EUZp5+DvaL3qwoPllVYESxD1AiA1ok4CXhdgWW2H7dWecWeDyo8yyjmJWBAILyRgqlxlng=="}]},"maintainers":[{"name":"adekoreday","email":"adeyemi_adekorede@hotmail.com"}],"_npmUser":{"name":"adekoreday","email":"adeyemi_adekorede@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crypto-dip-alert_0.0.9_1589136465617_0.39176254645182396"},"_hasShrinkwrap":false},"0.1.0":{"name":"@adekoreday/crypto-dip-alert","version":"0.1.0","description":"A CLI tool that notifies you, when the price of a crypto goes down past a threshold","main":"index.js","bin":{"crypto-dip-alert":"index.js"},"preferGlobal":true,"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"mykeels"},"license":"MIT","private":false,"dependencies":{"chalk":"^4.0.0","commander":"^5.0.0","dotenv":"^8.2.0","isomorphic-fetch":"^2.2.1","mailgun-js":"^0.22.0","messaging-api-telegram":"^0.8.2","nodemailer":"^6.4.6","open-file-text-editor":"0.0.1","termux":"^1.1.0"},"_id":"@adekoreday/crypto-dip-alert@0.1.0","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"integrity":"sha512-Nw7BlmuSiIQJ6XBGSAqTqAPkXmIitf9MVvrU8O/3AIGFXqj9hhf0RHoNr5BVG4ZYU/fOAPfOt3ytnisfwrfKTg==","shasum":"ef344731b7aee482fda07a346fe74d14bd58a016","tarball":"https://registry.npmjs.org/@adekoreday/crypto-dip-alert/-/crypto-dip-alert-0.1.0.tgz","fileCount":12,"unpackedSize":12486,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuFeuCRA9TVsSAnZWagAAaLYP/icEPP8DVCyw5RhZzvRW\nfECI8MjTWvxR6+1/IT5VfgGv1ThhWhLwdkZ7bBdLDFhCfrTYWfAG1unnTkKF\nmeodO0Zgw7Kskwry7WGrcZtaGTW7PgIevl06xz0xORJhHfjUYcoffYPQ96Z4\nuu31RyE7+yPapIAWDoWLzS8TjQ4gEpoWb+tDYns2xv1P0eYFdDIa9Ydna2US\nKQSmflDkH0jazLh2FYJXNWL7bNVmFZl9e0ZKr85iz33XZB/4QvZkHe2b98v+\nGcAWLZaPLrDGoeUWO4MqYL4sYsONmJDG73iwxEjpyFWsZrlJrS4u6dmJtGx8\niYj1/JqaAx1YTaNH8qC7zy8hGSfotv4JS2+lPLTtJ2oOyN7gg3MwG38g45x4\n3RCaq4eNEBzMg9yvkkJ1L5L2pGTDeN1fazpxnFUY2kIq2ShABgSuIKf/jAJ1\nO6nECrtqgP/OTt8lRrzFMFbO0KDQHQE23rlcsDBYx54e8B1Fg2SuZx2POtYu\nG3LDdSnssJYrmMQkX1lymrBnCLfLf2fTzmM0+L7LZXyluxO+897QzMdpNpfJ\nQMH0vN4SxVhVAv3e1i9PZOMZZealHZwO2XM7+0ODvv2J1DqCl16PPHCa+Zcs\n3XNt8ppUP4F1jj1Ll82BZZL9rjzdOswFbJ2Gg9HvMZCzMKBTXIacaH1IHzOk\nTgS1\r\n=ywGl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIETcdSYYXk6vS0pcAlyyCX779fmolZeBRmM/pLg5IRrTAiBNEYSOAWpzUcvw5dh39km8xa9uSqQXVJaZHOaB1Zg+Eg=="}]},"maintainers":[{"name":"adekoreday","email":"adeyemi_adekorede@hotmail.com"}],"_npmUser":{"name":"adekoreday","email":"adeyemi_adekorede@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crypto-dip-alert_0.1.0_1589139374492_0.2023761553187864"},"_hasShrinkwrap":false}},"time":{"created":"2020-05-10T18:47:45.580Z","0.0.9":"2020-05-10T18:47:45.736Z","modified":"2022-04-04T11:28:36.468Z","0.1.0":"2020-05-10T19:36:14.605Z"},"maintainers":[{"name":"adekoreday","email":"adeyemi_adekorede@hotmail.com"}],"description":"A CLI tool that notifies you, when the price of a crypto goes down past a threshold","keywords":[],"author":{"name":"mykeels"},"license":"MIT","readme":"# NodeJS Crypto Dip Alert\n\nA CLI tool to monitor the prices of crypto, and notify you when it drops past a threshold you specify.\n\n## Installation and Usage\n\n- Make sure you have [NodeJS](https://nodejs.org/en/download/) installed.\n- Run `npm i -g crypto-dip-alert` or `yarn global add crypto-dip-alert` to install to your computer.\n- Run `crypto-dip-alert -e` or `crypto-dip-alert --env` to view and edit the `.env` file according to the [instructions given here](./ENV.md).\n- Run `crypto-dip-alert` with the right options.\n\n## CLI Options\n\nThis CLI tool has the following synopsis:\n\n```txt\nUsage: crypto-dip-alert [options]\n\nOptions:\n  -c, --coins <coins>  A comma-separated list of coins to track (default: [\"BTC\",\"ETH\"])\n  -p, --price <price>  A price value to monitor (default: \"0.01\")\n  -t, --type <type>    \"percent\" or \"cents\" (default: \"percent\")\n  -l, --list           List available Cryptos\n  -e, --env            View and Edit the .env file\n  -h, --help           display help for command\n```\n\n**Example 1.**\n\n```bash\ncrypto-dip-alert -c ETH,BTC,USDC,EOS\n```\n\nto track `ETH`, `BTC`, `USDC` and `EOS` coins.\n\n**Example 2.**\n\n```bash\ncrypto-dip-alert -c ETH -p 10 -t percent\n```\n\nto track a 10% dip in the price of `ETH`.\n\n**Example 3.**\n\n```bash\ncrypto-dip-alert -l\n```\n\nto list all symbols for available cryptos you can track.\n\n**Example 4.**\n\n```bash\ncrypto-dip-alert -e\n```\n\nto open/edit the `.env` file.\n\n## Notifications\n\nThis script is written to make the notification system configurable.\n\nBy default, it comes with the following notifications:\n\n- Console (Terminal Output)\n- Mailgun (Uses the Mailgun service to send emails)\n- SMTP (Uses SMTP to send emails)\n- Telegram (Uses Telegram chat)\n\nSee [Env Setup](./ENV.md) for more.\n","readmeFilename":"README.md"}