coinbase-js
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Coinbase JS

npm license bundle size continuous integration status test coverage known vulnerabilities

Node.js client for Coinbase's API. This client covers the regular API. For the Coinbase Pro API, check out this client instead.

This is a work in progress. Significant changes and documentation are incoming.

Installation

npm install --save coinbase-js

or

yarn add coinbase-js

Usage

You'll need to generate an API key and secret.

import {Coinbase} from "coinbase-js";

const apiToken = "<your token>";
const apiSecret = "<your secret>";
const coinbase = new Coinbase({apiToken, apiSecret});
const response = await coinbase.getExchangeRates();

License

MIT

Package Sidebar

Install

npm i coinbase-js

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

27.8 kB

Total Files

9

Last publish

Collaborators

  • dguo