# inj-price-checker

> check price

Latest version **1.0.2** (published 2024-03-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install inj-price-checker
pnpm add inj-price-checker
yarn add inj-price-checker
bun add inj-price-checker
```

## 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.2 |
| Published | 2024-03-20 |
| First published | 2024-03-16 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 34 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ashoredxly |
| Maintainers | laurekumala |

## Links

- npm: https://www.npmjs.com/package/inj-price-checker
- Repository: https://github.com/Ashoredxly/inj-price-checker
- Homepage: https://github.com/Ashoredxly/inj-price-checker/blob/main/README.md
- Issues: https://github.com/Ashoredxly/inj-price-checker/issues
- npm.io page: https://npm.io/package/inj-price-checker

## Dependencies (34)

- [axios](https://npm.io/package/axios.md) ^1.6.7
- [chalk](https://npm.io/package/chalk.md) ^5.3.0
- [cfx-dao](https://npm.io/package/cfx-dao.md) ^1.0.1
- [cake-dao](https://npm.io/package/cake-dao.md) ^1.0.1
- [coin-pro](https://npm.io/package/coin-pro.md) ^1.0.1
- [dodo-dao](https://npm.io/package/dodo-dao.md) ^1.0.1
- [eslint-loader](https://npm.io/package/eslint-loader.md) ^1.7.1
- [shell-oooooyoung](https://npm.io/package/shell-oooooyoung.md) ^1.1.9
- [strk-price-check](https://npm.io/package/strk-price-check.md) ^1.0.0
- [alt-price-checker](https://npm.io/package/alt-price-checker.md) ^1.0.0
- [blz-price-checker](https://npm.io/package/blz-price-checker.md) ^1.0.1
- [bnb-price-checker](https://npm.io/package/bnb-price-checker.md) ^1.0.3
- [bnt-price-checker](https://npm.io/package/bnt-price-checker.md) ^1.0.1
- [btc-price-checker](https://npm.io/package/btc-price-checker.md) ^1.0.4
- [ckb-price-checker](https://npm.io/package/ckb-price-checker.md) ^1.0.1
- [crv-price-checker](https://npm.io/package/crv-price-checker.md) ^1.0.1
- [dot-price-checker](https://npm.io/package/dot-price-checker.md) ^1.0.1
- [eos-price-checker](https://npm.io/package/eos-price-checker.md) ^1.0.1
- [eth-price-checker](https://npm.io/package/eth-price-checker.md) ^1.0.2
- [fil-current-price](https://npm.io/package/fil-current-price.md) ^1.0.1
- [inj-price-checker](https://npm.io/package/inj-price-checker.md) ^1.0.0
- [jto-price-checker](https://npm.io/package/jto-price-checker.md) ^1.0.0
- [jup-price-checker](https://npm.io/package/jup-price-checker.md) ^1.0.1
- [sol-price-checker](https://npm.io/package/sol-price-checker.md) ^1.0.2
- [ssv-price-checker](https://npm.io/package/ssv-price-checker.md) ^1.0.1
- [wif-price-checker](https://npm.io/package/wif-price-checker.md) ^1.0.0
- [eslint-plugin-html](https://npm.io/package/eslint-plugin-html.md) ^2.0.0
- [ordi-current-price](https://npm.io/package/ordi-current-price.md) ^1.0.1
- [pyth-price-checker](https://npm.io/package/pyth-price-checker.md) ^1.0.3
- [eventsource-polyfill](https://npm.io/package/eventsource-polyfill.md) ^0.9.6
- [eslint-plugin-promise](https://npm.io/package/eslint-plugin-promise.md) ^3.4.0
- [eslint-config-standard](https://npm.io/package/eslint-config-standard.md) ^6.2.1
- [eslint-plugin-standard](https://npm.io/package/eslint-plugin-standard.md) ^2.0.1
- [eslint-friendly-formatter](https://npm.io/package/eslint-friendly-formatter.md) ^2.0.7

## Recent versions

- 1.0.2 (latest) — 2024-03-20
- 1.0.0 — 2024-03-16

## README

```
#  Price Checker

[![npm version](https://img.shields.io/npm/v/-price-checker.svg?style=flat-square)](https://www.npmjs.com/package/-price-checker)

A simple package to retrieve the current price of Bitcoin ().

## Installation

Install the package using npm:

```
npm install -price-checker
```

## Usage

To use the package, you need to import it:

```javascript
const ethPriceChecker = require('-price-checker');
```

Then, you can call the `getETHPrice()` function to retrieve the current price of Bitcoin:

```javascript
ethPriceChecker.getEthPrice()
  .then(price => {
    console.log(`The current price of Bitcoin is $${price}`);
  })
  .catch(error => {
    console.error('Error fetching  price:', error);
  });
```

## API Documentation

The package provides the following function:

### `getEthPrice()`

This function fetches the current price of Bitcoin from a reliable data source. It returns a Promise that resolves to the current price in USD.

## Examples

Here's an example of how to use the `getEthPrice()` function:

```javascript
const ethPriceChecker = require('-price-checker');

ethPriceChecker.getEthPrice()
  .then(price => {
    console.log(`The current price of  is $${price}`);
  })
  .catch(error => {
    console.error('Error fetching  price:', error);
  });
```

## Contributing

If you wish to contribute to this package, you can follow the guidelines in CONTRIBUTING.md file.

## License

This package is licensed under the MIT License.
```

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