Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sajjadmrx/cryptoland
https://github.com/sajjadmrx/cryptoland
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sajjadmrx/cryptoland
- Owner: sajjadmrx
- Created: 2021-10-29T19:21:58.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-30T09:16:39.000Z (almost 3 years ago)
- Last Synced: 2024-09-24T17:32:00.350Z (9 days ago)
- Language: TypeScript
- Size: 6.84 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**cryptoland**
Get the current price of a cryptocurrency
# Installation
**Node.js 12 or newer is required.**
```bash
npm install cryptoland
```
## Example usage
get Dogecoin information
```js
const cryptoLand = require('cryptoland')cryptoLand.getCrypto('dogecoin')
.then(data => {
console.log(data)
})
.catch(err => {
console.log(err)
})
```