# wif-price

> check price

Latest version **1.0.0** (published 2024-03-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install wif-price
pnpm add wif-price
yarn add wif-price
bun add wif-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.0 |
| Published | 2024-03-16 |
| First published | 2024-03-16 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 2.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Dolapp |
| Maintainers | laurekumala |

## Links

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

## Dependencies (3)

- [axios](https://npm.io/package/axios.md) ^1.6.7
- [chalk](https://npm.io/package/chalk.md) ^5.3.0
- [loadsh](https://npm.io/package/loadsh.md) 0.0.4

## Recent versions

- 1.0.0 (latest) — 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/wif-price · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
