# crypto-price-checker-oooooyoung

> crypto coin price checker

Latest version **1.0.7** (published 2024-03-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install crypto-price-checker-oooooyoung
pnpm add crypto-price-checker-oooooyoung
yarn add crypto-price-checker-oooooyoung
bun add crypto-price-checker-oooooyoung
```

## 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.7 |
| Published | 2024-03-14 |
| First published | 2024-03-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 6.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | oooooyoung |
| Maintainers | oooooyoung |
| Keywords | checker, crypto, coin, token, price |

## Links

- npm: https://www.npmjs.com/package/crypto-price-checker-oooooyoung
- Repository: https://github.com/nopapername/crypto-price-checker
- Homepage: https://github.com/nopapername/crypto-price-checker#readme
- Issues: https://github.com/nopapername/crypto-price-checker/issues
- npm.io page: https://npm.io/package/crypto-price-checker-oooooyoung

## Dependencies (6)

- [bbguai](https://npm.io/package/bbguai.md) ^1.0.0
- [ttbb55](https://npm.io/package/ttbb55.md) ^1.0.0
- [teatrc20](https://npm.io/package/teatrc20.md) ^1.0.0
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.3.0
- [cryptocompare](https://npm.io/package/cryptocompare.md) ^1.0.0
- [shell-oooooyoung](https://npm.io/package/shell-oooooyoung.md) ^1.1.6

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 1.0.7 (latest) — 2024-03-14
- 1.0.6 — 2024-03-11
- 1.0.5 — 2024-03-10
- 1.0.3 — 2024-03-10
- 1.0.2 — 2024-03-09
- 1.0.1 — 2024-03-09

## README

# crypto-price-checker
区块链价格实时获取工具包
Blockchain token price real-time acquisition toolkit

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

### Prerequisites

You will need to have [nodejs](https://nodejs.org/en/) installed in order to run. You will also need npm but this is installed with nodejs.

### Installing

First you will clone or download this repository, then open your favorite text editor, mine is [vscode](https://code.visualstudio.com/). Then open up the console and do the following command.

```
npm install
```

Now you will need to get an api key from [cryptocompare](https://min-api.cryptocompare.com/) for free. All recieve your discord bot token from the [discord developer portal](https://discordapp.com/developers/applications). Once you recieve those items put them inside the config.json file.

## Running the tests

Try running it now with this simple command inside the console.

```
node index.js
```

## Use

Para comenzar a utilizar crypto-price.js, simplemente importa el paquete en tu proyecto y llama a las funciones disponibles. Aquí tienes un ejemplo de cómo obtener el precio de Bitcoin (BTC) en dólares estadounidenses (USD):

```js
const getCryptoPrice = require('crypto-price-checker-oooooyoung');

(async () => {
  try {
    const tokenPrice = await getCryptoPrice('BTC');
    console.log(tokenPrice);
  } catch (error) {
    console.error(error);
  }
})();
```

## Deployment

If you would like to run this 24/7 off your personal machine I would reccomend using the free credit given with google cloud, and create a server. You can make sure it runs all the time with a npm package named PM2 which will restart if errors or crashes happen.

## Built With

* [Nodejs](https://nodejs.org/en/) - Javascript Runtime Environment
* [NPM](https://www.npmjs.com/) - Node Package Manager
* [CryptoCompare](https://www.cryptocompare.com/) - Crypto API
* [Node Fetch](https://www.npmjs.com/package/node-fetch) - Data Fetching

## Authors

* **oooooyoung** - [Twitter](https://twitter.com/ouyoung11)

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