{"_id":"@batista/itux-shop-assist","_rev":"3-cb2b325d0e8e8819e9514dc6511e3575","name":"@batista/itux-shop-assist","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@batista/itux-shop-assist","version":"1.0.0","description":"Your shop assistant that helps you to select the next internet provider from either itux.se or framtidensbredband.se","main":"lib/main.js","bin":{"itux-shop-assist":"dist/index.js"},"scripts":{"build":"tsc","format":"prettier --write **/*.ts","format-check":"prettier --check **/*.ts","lint":"eslint src/**/*.ts","package":"ncc build --source-map --minify --license licenses.txt","test":"jest","all":"npm run build && npm run format && npm run lint && npm test && npm run package","start":"npm run build && node lib/main.js","help":"npm run build && node lib/main.js --help","npx:local":"npm run all && npm install -g && npx . && npm uninstall -g"},"author":{"name":"Sergio Batista","email":"dev@se.rg.io"},"repository":{"type":"git","url":"git+https://github.com/batista/itux-shop-assist.git"},"keywords":["bredband","Framtidens Bredband","Framtidens","itux"],"license":"MIT","dependencies":{"axios":"^0.24.0","lodash":"^4.17.21","yargs":"^17.3.1"},"devDependencies":{"@types/jest":"^27.4.0","@types/lodash":"^4.14.178","@types/node":"^17.0.8","@types/yargs":"^17.0.8","@typescript-eslint/parser":"^5.9.0","@vercel/ncc":"^0.33.1","eslint":"^8.6.0","eslint-plugin-github":"^4.3.5","eslint-plugin-jest":"^25.3.4","jest":"^27.4.7","jest-ts-auto-mock":"^2.0.0","prettier":"2.5.1","ts-auto-mock":"^3.5.0","ts-jest":"^27.1.2","ts-node":"^10.4.0","ttypescript":"^1.5.13","typescript":"^4.5.4"},"engines":{"node":"16.13.1"},"gitHead":"88991279268c4b74883d2d925498e84d154e9566","bugs":{"url":"https://github.com/batista/itux-shop-assist/issues"},"homepage":"https://github.com/batista/itux-shop-assist#readme","_id":"@batista/itux-shop-assist@1.0.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-Gae8tuNC/r4pe22VtsymF/fYKzCKHEQi3PO/OaoNDEP7XpL1UKK6cpWuP61+mcJ3OVNwZznjfHGjO7Jk+qUtDw==","shasum":"4c7537f5b3cd26be3f4d0a48d22f3c497b0046d0","tarball":"https://registry.npmjs.org/@batista/itux-shop-assist/-/itux-shop-assist-1.0.0.tgz","fileCount":8,"unpackedSize":818835,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh171/CRA9TVsSAnZWagAAlrIP/icgMGvQVmg3O4GasifF\nZuQi3KixOwNFQtSvEc8wmjqaP04o56IJL8sdFcx1foFjVNX2PM1As3MQTy0Q\nQiJBGRpWgskjy5H+A6XP8PkyVFp8xFV5vo4/tupIKdZDG/ftMap+emqatpvv\n9lIuRMAR2FOnjv4n8A/uqetn/Lsdaz4NDYuatH4qhgtUA3OPXtnWe8aw0VaG\nPFmLoWALFngbf+6NbcV4qj1031FlJPnTF7A7wJr43uu+zT52qPbHvdFz3Ryo\n0gCwWSNQRDw0Nw8qPcqlUVV9B2Kh/usj7opPmeriWfC1JNzVvDbd8ykB1kY+\nV9ZyOML03L6vaTEaahmhTyOmem/MN54kf5FSdOWp+BP5Lqvoma3+CSAO0bwA\nNxQ10MeKi+a1h0G3Ctyur5JgYwBnaJ3fghL1xUuMA1bGGpimUR/sELB7Xuu+\ng8wh8HJ8dsKh4eK8ePkzVAIGk9ATL3qJUd/v5WpMMnfL93rCtZzVQ9Sq0vGn\nFJ0SsGooMu7hCrSmWP7B7VudwnMAtQkAAU2zsRH8gl2O1mrfzk32dI2D0678\nHp3oEYWe31pdB/f/STf6D75JzMzXtuXzlZ7Zdfqh2aN8dQFmQubafKTB093H\nLZwM4s6KxuCC1JBRTd7mdx+Hgh6qrEiyyiahccXCahuYF2tTmmTUjeyMdytl\nAhkK\r\n=vQfo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8hSZxi4j0C14SoZTL/X3KVhrdQRpuoEsUZS5dPRxDOQIhAMlSiKOJoZr6X1m/1M2VhrH4y0IGP/wgRuT7b8DaXFSX"}]},"_npmUser":{"name":"batista","email":"mail@se.rg.io"},"directories":{},"maintainers":[{"name":"batista","email":"mail@se.rg.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/itux-shop-assist_1.0.0_1641528703128_0.9833794463079495"},"_hasShrinkwrap":false},"1.1.0":{"name":"@batista/itux-shop-assist","version":"1.1.0","description":"Your shop assistant that helps you to select the next internet provider from either itux.se or framtidensbredband.se","main":"lib/main.js","bin":{"itux-shop-assist":"dist/index.js"},"scripts":{"build":"tsc","format":"prettier --write **/*.ts","format-check":"prettier --check **/*.ts","lint":"eslint src/**/*.ts","package":"ncc build --source-map --minify --license licenses.txt","test":"jest","all":"npm run build && npm run format && npm run lint && npm test && npm run package","start":"npm run build && node lib/main.js","help":"npm run build && node lib/main.js --help","npx:local":"npm run all && npm install -g && npx . && npm uninstall -g","publish":"npm run all && npx np"},"author":{"name":"Sergio Batista","email":"dev@se.rg.io"},"repository":{"type":"git","url":"git+https://github.com/batista/itux-shop-assist.git"},"keywords":["bredband","Framtidens Bredband","Framtidens","itux"],"license":"MIT","dependencies":{"axios":"^0.24.0","lodash":"^4.17.21","yargs":"^17.3.1"},"devDependencies":{"@types/jest":"^27.4.0","@types/lodash":"^4.14.178","@types/node":"^17.0.8","@types/yargs":"^17.0.8","@typescript-eslint/parser":"^5.9.0","@vercel/ncc":"^0.33.1","eslint":"^8.6.0","eslint-plugin-github":"^4.3.5","eslint-plugin-jest":"^25.3.4","jest":"^27.4.7","jest-ts-auto-mock":"^2.0.0","prettier":"2.5.1","ts-auto-mock":"^3.5.0","ts-jest":"^27.1.2","ts-node":"^10.4.0","ttypescript":"^1.5.13","typescript":"^4.5.4"},"engines":{"node":"16.13.1"},"gitHead":"f4df15bca11bbd00df4bba296b73b7944191d355","bugs":{"url":"https://github.com/batista/itux-shop-assist/issues"},"homepage":"https://github.com/batista/itux-shop-assist#readme","_id":"@batista/itux-shop-assist@1.1.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-+sVKY8U1rjn4bSCHDmyzdb2qEqVbJiiyblBbn8k+/O5c04Qcjb17YoKtRJsnt1rsnnGceYhRgd5ntLFfqiBGaA==","shasum":"e600e6fe4b9fe2dcc648460a0c2c5011733648ea","tarball":"https://registry.npmjs.org/@batista/itux-shop-assist/-/itux-shop-assist-1.1.0.tgz","fileCount":9,"unpackedSize":970257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2ChkCRA9TVsSAnZWagAAQbQP/A7MfX8vImYIoUxPIXxB\nn7G4AYbCDjwWNwMS76VVj1vOd48mmB74TIZEVyT230e/L+Dnu6TVd3UQBoIH\nAqpBYQFYPTQNHFWOaVS20+oemXCBpzxO19n1oHwSl40hdLtCYD2cwRbD/6Gn\npkxt0CWLkbuZhcfkJJqnHZqzQdkXT73Q88jaYGXozm9m2VEks5oRdTiXOmTm\nGDVedGjJUe1CMDt6azF32Q7c2ZOtGeW82LVXFES375o+6mggZddQ/wuLpyEF\nbhgxqDyte5i/mE0Xd+hzNhK7XGcITO9v5VyVbH6w/7GC8scaFoZI8ZeDgfQP\n6d8gVw3hyTXOePu28ISy6cgBmic2AsvQ0qbTMVNG5dcVh08VoUEwifLsIinv\nPlK79KlM0tbfGunXvT+q+GTItap2WI8xbOo8kabHDXGBZ/Swl2EZrj/+9JFk\n9jjznUcBCPuLz+pzwrJeE8DuIVWEzUcH7bhy5DiaaXhdyJPjry5e914MFwY7\nUlvFtfnbO1TJYiGlXmLlCwM2h+OBQEgYPEDTqE2J0421Ckd5+WGF6/f07tlM\nTYaxqpGEajXUAmi0LZmfdcFYclVze2QKbf77Jtn6vpPMjryetch2Q1tYCAOC\nr9DlyJEG7A36e7ptYsY4Uudfb+uv/YIUfUmtRHN24vwPRjE6dVTJ2S8fDwVP\normg\r\n=5vvp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaHAhT0KopHdPTxui5EdqR97/JUoyW6BCegx/9j3U9FgIgLDcpIozafi6Sl1MgVXT69YmY2vv1mUYrGmFyCr4zkEk="}]},"_npmUser":{"name":"batista","email":"mail@se.rg.io"},"directories":{},"maintainers":[{"name":"batista","email":"mail@se.rg.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/itux-shop-assist_1.1.0_1641556068479_0.6065293767011601"},"_hasShrinkwrap":false},"1.1.1":{"name":"@batista/itux-shop-assist","version":"1.1.1","description":"Your shop assistant that helps you to select the next internet provider from either itux.se or framtidensbredband.se","main":"lib/main.js","bin":{"itux-shop-assist":"dist/index.js"},"scripts":{"build":"tsc","format":"prettier --write **/*.ts","format-check":"prettier --check **/*.ts","lint":"eslint src/**/*.ts","package":"ncc build --source-map --minify --license licenses.txt","test":"jest","all":"npm run build && npm run format && npm run lint && npm test && npm run package","start":"npm run build && node lib/main.js","help":"npm run build && node lib/main.js --help","npx:local":"npm run all && npm install -g && npx . && npm uninstall -g","publish":"npm run all && npx np"},"author":{"name":"Sergio Batista","email":"dev@se.rg.io"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/batista/itux-shop-assist.git"},"keywords":["bredband","Framtidens Bredband","Framtidens","itux"],"license":"MIT","dependencies":{"axios":"^0.24.0","lodash":"^4.17.21","yargs":"^17.3.1"},"devDependencies":{"@types/jest":"^27.4.0","@types/lodash":"^4.14.178","@types/node":"^17.0.8","@types/yargs":"^17.0.8","@typescript-eslint/parser":"^5.9.0","@vercel/ncc":"^0.33.1","eslint":"^8.6.0","eslint-plugin-github":"^4.3.5","eslint-plugin-jest":"^25.3.4","jest":"^27.4.7","jest-ts-auto-mock":"^2.0.0","prettier":"2.5.1","ts-auto-mock":"^3.5.0","ts-jest":"^27.1.2","ts-node":"^10.4.0","ttypescript":"^1.5.13","typescript":"^4.5.4"},"engines":{"node":"16.13.1"},"gitHead":"9ee4bd1455c7b21cfee59a33bd51031d3bcbeee6","bugs":{"url":"https://github.com/batista/itux-shop-assist/issues"},"homepage":"https://github.com/batista/itux-shop-assist#readme","_id":"@batista/itux-shop-assist@1.1.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-jtH4QVHZ6okptNU45d5I9fzIdHMHHhYUvpdzGBKMxzZhZmpCUJHOSN7X7mgrtt8yptcIizlde8wgLDrykTPxVw==","shasum":"435ee770ed7581cc56287054deebd790335f5a51","tarball":"https://registry.npmjs.org/@batista/itux-shop-assist/-/itux-shop-assist-1.1.1.tgz","fileCount":10,"unpackedSize":1200157,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2EcjCRA9TVsSAnZWagAAGfkP/j1ol3PLHwc6yV1aDHA/\nYubx3pG09eMnPLW37J+TLlx4omoOyZYakfw68yDDG26bRhHRyfbuNhdkluKC\nfdpYt6J+dwKN84r+FeUP9sfkhL4e/pzK1Gk95uoGa+gGPGcgbi3eNMyGTpH8\nfFXhSL6pL4WfRWtzqHI5j7p9ExbJk5DnObQ7Aw3mtylw1Oik84XAw0C0InaT\nO1scTwRUd7LdONtw01mM1Kwbyj+Gn0G7RwrPN/BKozWOHULVJWzo4ofbfQMQ\nuHUN6PUJ7NSQK+SAUdX1E9aSNSyOm52r8Rs3fjZw5fHRymh2tQfWE4dWdx64\nIA699PJU613gOWhaZvg3/0l17Dgfah3ryl9fBjgr/s1vYMw6YjR/pLNqFJJC\nz6bCF8YtoHDCvuatywzAFQqVVOCAxKKjXxOAXNJ1s0goZfgXGcPyZoKCdAzn\n88VmafSeM0npZRBwUlzr7PzIMRH4UEziHdDZj4hFYnkeZTjcyifr/Jxl8wdb\n7VNVsH7gFgORnhhdDIrybDOt5OSy2XPxhB2tJF+pd3rxvqKVVv/Bld+jk6Qd\nJMS8qggs3nho+GC/Y4/TrzxsuPe1XlatyUbtC3do9Z5/hzmQnrkk2qdp2DC4\nnoM2ctlqCNxEsYJPPQFBW8VNZ5zw9M+gU0SMhS87Oz/8Wxrtc9OSVTBg6qar\n2l2h\r\n=/LIz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHW+nFdlbt1CHATBdbJZdvhW5GCcNECFrpGzpErylesmAiAuTyZPMGNPvEsS+f96U1Ms/OY9rLronsqEaqmCp83djg=="}]},"_npmUser":{"name":"batista","email":"mail@se.rg.io"},"directories":{},"maintainers":[{"name":"batista","email":"mail@se.rg.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/itux-shop-assist_1.1.1_1641563938851_0.8320767376176967"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-07T04:11:43.014Z","1.0.0":"2022-01-07T04:11:43.418Z","modified":"2022-04-04T17:47:39.865Z","1.1.0":"2022-01-07T11:47:48.729Z","1.1.1":"2022-01-07T13:58:59.043Z"},"maintainers":[{"name":"batista","email":"mail@se.rg.io"}],"description":"Your shop assistant that helps you to select the next internet provider from either itux.se or framtidensbredband.se","homepage":"https://github.com/batista/itux-shop-assist#readme","keywords":["bredband","Framtidens Bredband","Framtidens","itux"],"repository":{"type":"git","url":"git+https://github.com/batista/itux-shop-assist.git"},"author":{"name":"Sergio Batista","email":"dev@se.rg.io"},"bugs":{"url":"https://github.com/batista/itux-shop-assist/issues"},"license":"MIT","readme":"# Itux / Framtidensbredband Shop Assistant CLI\n\n[![build-test action status](https://github.com/batista/itux-shop-assist/workflows/build-test/badge.svg?branch=master)](https://github.com/batista/itux-shop-assist/actions?query=workflow%3Abuild-test+branch%3Amaster)\n[![code-ql action status](https://github.com/batista/itux-shop-assist/workflows/CodeQL/badge.svg?branch=master)](https://github.com/batista/itux-shop-assist/actions?query=workflow%3ACodeQL+branch%3Amaster)\n[![Codacy Security Scan](https://github.com/batista/itux-shop-assist/actions/workflows/codacy-analysis.yml/badge.svg?branch=master)](https://github.com/batista/itux-shop-assist/actions/workflows/codacy-analysis.yml)\n[![Codacy Code Quality](https://app.codacy.com/project/badge/Grade/f9c3b4709ea64385b1096331dddb2787)](https://www.codacy.com/gh/batista/itux-shop-assist/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=batista/itux-shop-assist&amp;utm_campaign=Badge_Grade)\n[![Codacy Coverage](https://app.codacy.com/project/badge/Coverage/f9c3b4709ea64385b1096331dddb2787)](https://www.codacy.com/gh/batista/itux-shop-assist/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=batista/itux-shop-assist&amp;utm_campaign=Badge_Coverage)\n[![license MIT](https://img.shields.io/github/license/batista/itux-shop-assist)](https://github.com/batista/itux-shop-assist/blob/main/LICENSE)\n\nIf you are like me and is always trying to snatch the best campaign (I do it every time the previous campaign expires), but feel the filtering options provided to you are not the best, then this CLI helper tool is for you.\n\n<img src=\"./assets/itux-shop-assist--demo.svg\" alt=\"Recording of the CLI execution\" with=\"400\"/>\n\n**NOTE: This CLI is targeted to users of [itux.se](https://www.itux.se) and [framtidensbredband.se](https://www.framtidensbredband.se) only.**\n\n## Usage\n\nTo use with the default options:\n\n```bash\nnpx @batista/itux-shop-assist\n```\n\n### ❔ Help\n\nTo get the available options append the `--help` (`-h`) option.\n\n```bash\nnpx @batista/itux-shop-assist --help\n```\n\n<img src=\"./assets/itux-shop-assist--help.png\" alt=\"Screenshot of the CLI with the help option\" with=\"400\"/>\n\n\n---\n\n### 🛒 Different supported stores\n\n#### Itux (default)\n\n**If you are a user of [itux.se](https://www.itux.se), then you don't have to do anything.**\n\nIf you're stubborn and still want to force the store, then you can always use the `--shop itux` option.\n\n```bash\nnpx @batista/itux-shop-assist --shop itux\n```\n\n#### Framtidens Bredband\n\nIf you are a user of [framtidensbredband.se](https://www.framtidensbredband.se), you need to append the `--shop` (`-s`) option to get the right offers.\n\n```bash\nnpx @batista/itux-shop-assist --shop framtidensbredband\n```\n\n---\n\n### 🚫 Exclude Certain Providers\n\nIf for some reason you want to exclude a certain provider, for example you have read some bad reviews.\n\nThe `--exclude-providers` (`-p`) option along with `<provider-key>` allows you to exclude certain providers.\n\nYou should pass a list of provider-keys that you can retrieve with the `--list-providers` option.\n\n```bash\nnpx @batista/itux-shop-assist --exclude-providers provider-key-1 provider-key-2\n```\n\n#### List the Provider Keys\n\nTo populate the `--exclude-providers` parameter, you need to first know the keys, you get those with the `--list-providers` flag. This cuts the application short and will retrieve only the list of providers.\n\n```bash\nnpx @batista/itux-shop-assist --list-providers\n```\n\n---\n\n### 💬 Verbose\n\nIf you want to know what is happening in the background, I have just the option for you: `--verbose` (`-v`).\n\n```bash\nnpx @batista/itux-shop-assist --verbose\n```\n\n---\n\n### 🔽  Minimum Download Speed\n\nWe all have our requirements, maybe you can live with just 10Mbit/s at the summer house, but at home you'll need that snappy 1000Mbit/s to browse your favorite newspaper.\n\nThe `--min-download-speed` (`-d`) option allows you to specify your minimum tolerated speed (in MBits/s).\n\n```bash\nnpx @batista/itux-shop-assist --min-download-speed 100\n```\n\n---\n\n### 🔼  Minimum Upload Speed\n\nIf you need to upload your favorite pictures super fast to Instagram, then you'll need a good upload speed, the `--min-upload-speed` (`-u`) option allows you to specify your minimum tolerated speed (in MBits/s).\n\n```bash\nnpx @batista/itux-shop-assist --min-upload-speed 100\n```\n\n---\n\n### 💸 Maximum Monthly Cost\n\nWe don't just care about the campaign prices, *what if we forget to cancel in time?!*\n\nThe `--max-cost` (`-c`) option allows you to specify your maximum tolerated monthly cost (in SEK).\n\n```bash\nnpx @batista/itux-shop-assist --max-cost 500\n```\n\n---\n\n### 🔏 Maximum Binding Period\n\nNow, they might attract you with great campaigns, but if you don't notice the details, you might be in for the long term with your new supplier. The whole purpose of this app is to be able to switch to the next optimum provider when the current campaign hits its end, so you can save for those lovely new shoes you saw at the store the other day 👠 .\n\nThe `--max-binding-period` (`-b`) option allows you to specify your maximum tolerated binding period (in months).\n\n```bash\nnpx @batista/itux-shop-assist --max-binding-period 1\n```\n\n---\n\n### 📆 Maximum Cancellation Period\n\nHow soon can you get out of your contract once you have decided to do so?\n\nThe `--max-cancellation-period` (`--cp`) option allows you to specify your maximum tolerated cancellation period (in months).\n\n```bash\nnpx @batista/itux-shop-assist --max-cancellation-period 1\n```\n","readmeFilename":"README.md"}