# live-stock-price

> Live Stock Price is an NPM package that provides live stock data prices for a given symbol. It fetches the stock price from Yahoo Finance using web scraping techniques.

Latest version **1.0.4** (published 2023-05-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install live-stock-price
pnpm add live-stock-price
yarn add live-stock-price
bun add live-stock-price
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2023-05-09 |
| First published | 2023-05-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Tejkumar Patel |
| Maintainers | legendary01 |
| Keywords | stock, finance, stock price, live data, market |

## Links

- npm: https://www.npmjs.com/package/live-stock-price
- Repository: https://github.com/tpatel29/live-stock-price
- Homepage: https://github.com/tpatel29/live-stock-price#readme
- Issues: https://github.com/tpatel29/live-stock-price/issues
- npm.io page: https://npm.io/package/live-stock-price

## Dependencies (2)

- [axios](https://npm.io/package/axios.md) ^1.4.0
- [cheerio](https://npm.io/package/cheerio.md) ^1.0.0-rc.12

## Recent versions

- 1.0.4 (latest) — 2023-05-09
- 1.0.3 — 2023-05-09
- 1.0.2 — 2023-05-09
- 1.0.1 — 2023-05-09
- 1.0.0 — 2023-05-09

## README

# Live Stock Price

[![npm version](https://badge.fury.io/js/live-stock-price.svg)](https://badge.fury.io/js/live-stock-price)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/tpatel29/live-stock-price/blob/main/LICENSE)

Live Stock Price is an NPM package that provides live stock data prices for a given symbol. It fetches the stock price from Yahoo Finance using web scraping techniques.

## Installation

```bash
npm install live-stock-price
```



## Usage
```js
const liveStockPrice = require('live-stock-price');

liveStockPrice('AAPL')
    .then((price) => {
        console.log('Stock price:', price);
    })
    .catch((error) => {
        console.error('Error:', error);
    });
```

Replace 'AAPL' with the desired stock symbol. The liveStockPrice function returns a promise that resolves to the live stock price.


## License

This project is licensed under the MIT License - see the [MIT License](https://github.com/tpatel29/live-stock-price/blob/main/LICENSE) file for details.

---
_Source: https://npm.io/package/live-stock-price · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
