coffee-crypto-cli
Advanced tools
Comparing version 1.2.1-canary-a81fe4a.0 to 1.2.1-canary-b03d92e.0
@@ -10,3 +10,3 @@ #!/usr/bin/env node | ||
--price, --p - coin name | ||
--priceChange, --pc - coin price change (%) in the past 24 hours | ||
--price-change, --pc - coin price change (%) in the past 24 hours | ||
--volume, --v - coin volume in the past 24 hours | ||
@@ -16,3 +16,3 @@ --high - highest price sold in the past 24 hours | ||
--ath - coin all time high price | ||
--athChange, --athc - percent price change from ATH | ||
--ath-change, --athc - percent price change from ATH | ||
--version - current version of the crypto-cli tool | ||
@@ -19,0 +19,0 @@ --save - export all coin data to CSV and/or JSON |
{ | ||
"name": "coffee-crypto-cli", | ||
"version": "1.2.1-canary-a81fe4a.0", | ||
"version": "1.2.1-canary-b03d92e.0", | ||
"description": "Cryptocurrency CLI price tool", | ||
@@ -31,4 +31,4 @@ "main": "dist/index.js", | ||
"@crypto-coffee/coingecko-api": "^1.2.0", | ||
"chalk": "5.1.2", | ||
"json2csv": "^5.0.7", | ||
"chalk": "^5.3.0", | ||
"json2csv": "^6.0.0-alpha.2", | ||
"meow": "^11.0.0" | ||
@@ -40,15 +40,15 @@ }, | ||
"@types/mocha": "^10.0.1", | ||
"@types/node": "^18.11.17", | ||
"@typescript-eslint/eslint-plugin": "^5.47.0", | ||
"@typescript-eslint/parser": "^5.47.0", | ||
"@types/node": "^20.3.3", | ||
"@typescript-eslint/eslint-plugin": "^5.61.0", | ||
"@typescript-eslint/parser": "^5.54.0", | ||
"chai": "^4.3.7", | ||
"eslint": "^8.30.0", | ||
"execa": "^6.1.0", | ||
"husky": "^8.0.2", | ||
"lint-staged": "^13.1.0", | ||
"eslint": "^8.44.0", | ||
"execa": "^7.1.1", | ||
"husky": "^8.0.3", | ||
"lint-staged": "^13.2.3", | ||
"mocha": "^10.2.0", | ||
"prettier": "^2.8.1", | ||
"rimraf": "^3.0.2", | ||
"prettier": "^2.8.8", | ||
"rimraf": "^4.3.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.9.4" | ||
"typescript": "^5.1.6" | ||
}, | ||
@@ -55,0 +55,0 @@ "lint-staged": { |
@@ -46,3 +46,3 @@ # crypto-cli | ||
```sh | ||
--priceChange, --pc | ||
--price-change, --pc | ||
``` | ||
@@ -77,3 +77,3 @@ | ||
```sh | ||
--athChange, --athc | ||
--ath-change, --athc | ||
``` | ||
@@ -80,0 +80,0 @@ |
@@ -99,3 +99,3 @@ import 'mocha'; | ||
describe('with `--priceChange, --pc`', () => { | ||
describe('with `--price-change, --pc`', () => { | ||
describe('with a valid coin name', () => { | ||
@@ -106,3 +106,3 @@ it('returns the price change percentage', async () => { | ||
'bitcoin', | ||
'--priceChange' | ||
'--price-change' | ||
]); | ||
@@ -165,3 +165,3 @@ | ||
describe('with `--athChange`', () => { | ||
describe('with `--ath-change`', () => { | ||
describe('with a valid coin name', () => { | ||
@@ -172,3 +172,3 @@ it('returns the percentage from the all time high price', async () => { | ||
'bitcoin', | ||
'--athChange' | ||
'--ath-change' | ||
]); | ||
@@ -175,0 +175,0 @@ |
@@ -13,3 +13,3 @@ #!/usr/bin/env node | ||
--price, --p - coin name | ||
--priceChange, --pc - coin price change (%) in the past 24 hours | ||
--price-change, --pc - coin price change (%) in the past 24 hours | ||
--volume, --v - coin volume in the past 24 hours | ||
@@ -19,3 +19,3 @@ --high - highest price sold in the past 24 hours | ||
--ath - coin all time high price | ||
--athChange, --athc - percent price change from ATH | ||
--ath-change, --athc - percent price change from ATH | ||
--version - current version of the crypto-cli tool | ||
@@ -22,0 +22,0 @@ --save - export all coin data to CSV and/or JSON |
31478
28
+ Added@streamparser/json@0.0.6(transitive)
+ Addedchalk@5.3.0(transitive)
+ Addedjson2csv@6.0.0-alpha.2(transitive)
- Removedchalk@5.1.2(transitive)
- Removedjson2csv@5.0.7(transitive)
- Removedjsonparse@1.3.1(transitive)
Updatedchalk@^5.3.0
Updatedjson2csv@^6.0.0-alpha.2