metal-price-live
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

metal-price-live

Live metal prices for react and react native using websocket

Installation

Using npm:

npm install metal-price-live

Using yarn:

yarn add metal-price-live

Usage

import useMetalPriceLive from 'metal-price-live';

// ...

const { status, data, error } = useMetalPriceLive(
  'wss://your-websocket-endpoint',
  'your-api-key'
);

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

Package Sidebar

Install

npm i metal-price-live

Weekly Downloads

1

Version

0.2.2

License

MIT

Unpacked Size

21.7 kB

Total Files

10

Last publish

Collaborators

  • smamun19