Socket
Socket
Sign inDemoInstall

terminal-stocks

Package Overview
Dependencies
195
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.12 to 1.0.13

6

app/transformer/responseTransformer.js

@@ -73,3 +73,3 @@ var Table = require('cli-table3');

return '\n' + table.toString() + '\n'
+ colors.yellow(`TIP: You can view historical prices by: curl terminal-stocks.shashi.dev/historical/ITC.NS\n\n`)
+ colors.yellow(`TIP: You can view historical prices by: curl terminal-stocks.dev/historical/ITC.NS\n\n`)
+ colors.blue.dim(`DISCLAIMER: For information purpose. Do not use for trading.\n`

@@ -109,3 +109,3 @@ + colors.yellow.dim(`[twitter: @imSPG] [Github: https://github.com/shweshi/terminal-stocks]\n\n`));

return '\n' + table.toString() + '\n' + colors.grey(colors.grey(data[0].atDate)) + '\n\n'
+ colors.yellow(`TIP: You can view historical prices by: curl terminal-stocks.shashi.dev/historical/${data[0].ticker}\n\n`)
+ colors.yellow(`TIP: You can view historical prices by: curl terminal-stocks.dev/historical/${data[0].ticker}\n\n`)
+ colors.blue.dim(`DISCLAIMER: For information purpose. Do not use for trading.\n`

@@ -150,3 +150,3 @@ + colors.yellow.dim(`[twitter: @imSPG] [Github: https://github.com/shweshi/terminal-stocks]\n\n`));

+ colors.blue(`* Close price adjusted for splits.\n** Adjusted close price adjusted for both dividends and splits.\n\n`)
+ colors.yellow(`TIP: You can view current price by: curl terminal-stocks.shashi.dev/${data.ticker}\n\n`)
+ colors.yellow(`TIP: You can view current price by: curl terminal-stocks.dev/${data.ticker}\n\n`)
+ colors.blue.dim(`DISCLAIMER: For information purpose. Do not use for trading.\n`

@@ -153,0 +153,0 @@ + colors.yellow.dim(`[twitter: @imSPG] [Github: https://github.com/shweshi/terminal-stocks]\n`));

@@ -17,3 +17,3 @@ # Using without installation

```sh
curl terminal-stocks.shashi.dev/<TICKER>
curl terminal-stocks.dev/<TICKER>
```

@@ -23,3 +23,3 @@

```sh
curl terminal-stocks.shashi.dev/ITC.NS
curl terminal-stocks.dev/ITC.NS
```

@@ -35,3 +35,3 @@

```sh
curl terminal-stocks.shashi.dev/<TICKER1,TICKER2>
curl terminal-stocks.dev/<TICKER1,TICKER2>
```

@@ -41,3 +41,3 @@

```sh
curl terminal-stocks.shashi.dev/ITC.NS,INFY.NS
curl terminal-stocks.dev/ITC.NS,INFY.NS
```

@@ -50,3 +50,3 @@ <img alt="terminal-stocks" src="https://raw.githubusercontent.com/shweshi/terminal-stocks/main/screenshots/Screenshot_MultipleStocks.png" />

```sh
curl terminal-stocks.shashi.dev/historical/<TICKER>
curl terminal-stocks.dev/historical/<TICKER>
```

@@ -56,3 +56,3 @@

```sh
curl terminal-stocks.shashi.dev/historical/ITC.NS
curl terminal-stocks.dev/historical/ITC.NS
```

@@ -65,3 +65,3 @@ <img alt="terminal-stocks" src="https://raw.githubusercontent.com/shweshi/terminal-stocks/main/screenshots/Screenshot_Historical.png" />

```sh
curl terminal-stocks.shashi.dev/market-summary
curl terminal-stocks.dev/market-summary
```

@@ -71,3 +71,3 @@

```sh
curl terminal-stocks.shashi.dev/market-summary
curl terminal-stocks.dev/market-summary
```

@@ -81,3 +81,3 @@ <img alt="terminal-stocks" src="https://raw.githubusercontent.com/shweshi/terminal-stocks/main/screenshots/Screenshot_Market.png" />

```sh
curl terminal-stocks.shashi.dev/<TICKER>
curl terminal-stocks.dev/<TICKER>
```

@@ -87,3 +87,3 @@

```sh
curl terminal-stocks.shashi.dev/^BSENS
curl terminal-stocks.dev/^BSENS
```

@@ -90,0 +90,0 @@

{
"name": "terminal-stocks",
"version": "1.0.12",
"version": "1.0.13",
"description": "Fetch stock price information on terminal",

@@ -5,0 +5,0 @@ "main": "index.js",

# terminal-stocks
terminal-stocks is a terminal based application that provide stock price information.
terminal-stocks is a terminal based application that provides stock price information.
Read more here: https://blog.shashi.dev/2021/01/track-stock-market-information-right-in.html

@@ -13,3 +13,3 @@

```sh
$ curl terminal-stocks.shashi.dev/<TICKER>
$ curl terminal-stocks.dev/<TICKER>
```

@@ -19,3 +19,3 @@

```sh
$ curl terminal-stocks.shashi.dev/ITC.NS
$ curl terminal-stocks.dev/ITC.NS
```

@@ -27,3 +27,3 @@ <img alt="terminal-stocks" src="https://raw.githubusercontent.com/shweshi/terminal-stocks/main/screenshots/Screenshot_Current.png" />

```sh
$ curl terminal-stocks.shashi.dev/ITC.NS,INFY.NS,WIPRO.NS
$ curl terminal-stocks.dev/ITC.NS,INFY.NS,WIPRO.NS
```

@@ -33,3 +33,3 @@ <img alt="terminal-stocks" src="https://raw.githubusercontent.com/shweshi/terminal-stocks/main/screenshots/Screenshot_List.png" />

### Note
- This app uses the yahoo finance to fetch information. Please provide ticker for yahoo finance.
- This app uses https://finance.yahoo.com/ to fetch information. Please provide a ticker symbol from yahoo finance to fetch the ticker's market data

@@ -68,3 +68,3 @@

```sh
$ curl terminal-stocks.shashi.dev/historical/ITC.NS
$ curl terminal-stocks.dev/historical/ITC.NS
```

@@ -78,3 +78,3 @@ <img alt="terminal-stocks" src="https://raw.githubusercontent.com/shweshi/terminal-stocks/main/screenshots/Screenshot_Historical.png" />

```sh
$ curl terminal-stocks.shashi.dev/market-summary
$ curl terminal-stocks.dev/market-summary
```

@@ -81,0 +81,0 @@ <img alt="terminal-stocks" src="https://raw.githubusercontent.com/shweshi/terminal-stocks/main/screenshots/Screenshot_Market.png" />

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc